API call: getTags

From Moneytrackin' help

Jump to: navigation, search

Returns the tag list and their respective amounts of a given project


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

Example response

<?xml version='1.0' encoding='UTF-8'?>
<result code="done">
  <tags>
    <tag totalAmount="-300.25">
        <valortag>car</valortag>
    </tag>
    <tag totalAmount="-300.25">
        <valortag>trimestral</valortag>
    </tag>
    <tag totalAmount="-72"> 
        <valortag>shoes</valortag>
    </tag>
    <tag totalAmount="-72">
        <valortag>clothes</valortag>
    </tag>
    <tag totalAmount="-72">
        <valortag>personal</valortag>
    </tag>
    <tag totalAmount="1520">
        <valortag>salary</valortag>
    </tag>
    <tag totalAmount="1520">
        <valortag>job</valortag>
    </tag>
    <tag totalAmount="-400">
        <valortag>mortgage</valortag>
    </tag>
    <tag totalAmount="-400">
        <valortag>mensual</valortag>
    </tag>
  </tags>
</result>


Exceptions

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

Personal tools