API call: insertTransaction

From Moneytrackin' help

Jump to: navigation, search

Create a new transaction


Arguments

login       - Username
password    - Password MD5'ed
project     - ID of the project (returned in function listProjects). 
                                 Specify an empty string to reference the main account
description - Transaction's description
amount      - Transaction's amount (e.g: 12.33 -129.7)
date        - Transaction date in ISO 9601 format (YYYY-MM-DD). leave empty for the current date
tags        - Transaction's tags alphanumeric, space separated
idperiodic  - Only used on periodic transactions. Leave null for normal ones


Example response

<?xml version='1.0' encoding='UTF-8'?>
<result code="done"/>



Exceptions

In case of error a SOAP fault exception with the error description will be thrown

Personal tools