categories/all
Retrieves the bespoke category list structures as defined within the Jadu Category Builder.
Arguments
- api_key (required)
Example request:
http://[domain]/api/categories/all.xml?api_key=[api_key]
Example response:
<?xml version="1.0" encoding="utf-8"?>
<categories>
<category id="100001" name="Benefits and Council Tax"
narrower_items="0" broader_items=“0" />
<category id="200008" name="Benefits" narrower_items="0"
broader_items="1">
<broaderItem category_id="100001"/>
</category>
<category id="726" name="Benefits - fraud" narrower_items="0"
broader_items="1">
<broaderItem category_id="200008"/>
</category>
<category id="500180" name="Housing Benefit" narrower_items="0"
broader_items="1">
<broaderItem category_id="200008"/>
</category>
</categories>