services/category/{category_id}
Retrieves all of the services that are assigned to the specified category.
Arguments:
- api_key (required)
- per_page (optional - default 25)
- page (optional - default 1)
- category_id (required)
Example request:
http://[domain]/api/services/category/21.xml?api_key=[api_key]
&per_page=10&page=1
Example response:
<?xml version="1.0" encoding="utf-8"?>
<services category_id="21" page="1" pages="13" per_page="10" total="123">
<service id="306">
<title>Abandoned vehicles</title>
<eligibility/>
<accessibility/>
<availability>Normal office hours</availability>
<content><![CDATA[If you see a vehicle ...]]></content>
<contacts>
<contact name="Neighbourhood Environmental Action Team"
department="" email="team@mydomain.gov.uk"
telephone="01706 252565 / 252556" fax=""
website="" address="Team, Stubbylee Hall, Bacup,
Lancs, OL13 0DE”/>
</contacts>
<categories>
<category id="21" name="Category One"/>
</categories>
</service>
<service id="1011">
<title>Abnormal loads</title>
<eligibility/>
<accessibility/>
<availability/>
<content><![CDATA[The movement of large...]]></content>
<contacts>
<contact name="Lancashire Highways Partnership"
department="" email="highways@mydomain.gov.uk"
telephone="0845 053 0011" fax=""
website="http://highways.mydomain.gov.uk/"
address="Guild House, PO Box 9, Cross Street,
Preston, Lancashire, PR1 8RD"/>
</contacts>
<categories>
<category id="21" name="Category One"/>
</categories>
</service>
</services>