API call: listTransactions

From Moneytrackin' help

Jump to: navigation, search

Returns a list with all the transactions inserted by the user within the given dates.


Arguments

login     - Username
password  - Password (MD5'ed)
project   - ID of the project (returned in function <a href="/help/API/listProjects">listProjects</a>). 
                              Specify an empty string to reference the main account
startDate - Start date (ISO 9601 format - YYYY-MM-DD)
endDate   - End date (ISO 9601 format - YYYY-MM-DD)


Example response

<?xml version='1.0' encoding='UTF-8'?>
<result code="done">
  <transaction id="13">
    <description>mortgage</description>
    <amount>-400</amount>
    <date>2006-05-24</date>
    <tags>
      <tag>mortgage</tag>
      <tag>mensual</tag>
    </tags>
  </transaction>
  <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