API call: listWriteProjects

From Moneytrackin' help

Jump to: navigation, search

Returns a list with all the projects/accounts where user has write rights.

Arguments

login    - Username
password - Password MD5'ed

Example response

<?xml version='1.0' encoding='UTF-8'?>
<result code="done">
  <project id="">
    <name>Main Account</name>
    <balance>3455.14</balance>
    <htmlchar>€</htmlchar>
    <currency>EUR</currency>
    <balancem>3455.14</balancem>
  </project>
  <project id="4">
    <name>test project 1</name>
    <balance>5672.05</balance>
    <htmlchar>$</htmlchar>
    <balancem>4185.70</balancen>
  </project>
  <project id="5">
    <name>test project 2</name>
    <balance>134.56</balance>
    <htmlchar>€</htmlchar>
    <balancem>134.56</balancem>
  </project>
</result>


name     - Project name
balance  - Project balance
htmlchar - The symbol for the project currency
balancem - Project balance converted to the user default currency


Exceptions

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

Personal tools