Skip to main content

services/all

Retrieves all of the services defined within the A-Z Services area of the eGov module.

Arguments:

  • api_key (required)
  • per_page (optional - default 25)
  • page (optional - default 1)

Example request:

http://[domain]/api/services/all.xml?api_key=[api_key]&per_page=10&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<services page="1" pages="1" per_page="10" total="4">
<service id="1">
<title>Abandoned bicycles</title>
<eligibility>Eligibility</eligibility>
<accessibility>Accessibility</accessibility>
<availability>Availability</availability>
<content><![CDATA[<p>Abandoned Vehicles</p>]]></content>
<contacts/>
<categories>
<category id="20000" name="Category One"/>
</categories>
</service>
<service id="2">
<title>Abandoned miscellaneous</title>
<eligibility>Eligibility</eligibility>
<accessibility>Accessibility</accessibility>
<availability>Availability</availability>
<content>
<![CDATA[<p>Primary Service content here...</p>]]>
</content>
<contacts/>
<categories>
<category id="20000" name="Category One"/>
</categories>
</service>
</services>