API call: listTagTransactions

From Moneytrackin' help

Jump to: navigation, search

Returns a list with all the transactions inserted by the user tagged with the specified tag.


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
tag       - Tag to search
startDate - Start date (ISO 9601 format - YYYY-MM-DD)
endDate   - End date (ISO 9601 format - YYYY-MM-DD)


Example response (tag="job")

<?xml version='1.0' encoding='UTF-8'?>
<result code="done">
  <transaction id="12">
    <description>salary</description>
    <amount>1520</amount>
    <date>2006-05-24</date>
    <tags>
      <tag>salary</tag>
      <tag>job</tag>
    </tags>
  </transaction>
</result>


Exceptions

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

Personal tools