Categories

 

Gets the list of Categories for the Account.

Request:

GET /getcategories/{serviceToken}/hasactivetrackonly

Parameter Type Status
serviceToken String Mandatory

Successful Response:

<responsecategories>
<categories>
<category name=”Location” id=”bc371530fd7e64c1″>
<attributes>
<attribute name=”Asia” id=”95f52ce24a2ca7e1″/>
<attribute name=”Europe” id=”bc371530fd7e64c1″/>
</attributes>
</category>
<category name=”Theme” id=”4d3ddcd6da8eed45″>
<attributes>
<attribute name=”Christmas” id=”4d3ddcd6da8eed45″/>
<attribute name=”Halloween” id=”272f1d66c82967de”>
<attributes>
<attribute name=”dark” id=”16182f556d3a5435″/>
<attribute name=”happy” id=”4591541dbc69fab6″/>
</attributes>
</attribute>
</attributes>
</category>
</categories>
</responsecategories>

Error Response:

<responsecategories>
<error>
<code>5</code>
<description>Invalid Token</description>
</error>
</responsecategories>

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.