directories/entry/{id}
Retrieves the data associated within a single specified record from a directory.
Arguments:
- api_key (required)
- id (required)
Example request:
http://[domain]/api/directories/entry.xml?api_key=[api_key]&directory_entry_id=3
Example response:
<?xml version="1.0" encoding="utf-8"?>
<entry id="3">
<title>Fir Trees</title>
<date>1357917079</date>
<fields>
<field id="1" name="Care Centre" type="text" displayTitle="true">
Fir Trees
</field>
<field id="2" name="Type" type="text" displayTitle="true">
Residential
</field>
<field id="3" name="Manager" type="text" displayTitle="true">
Anne Dobson
</field>
<field id="4" name="Picture" type="text" displayTitle="true">
worsborough-2.jpg
</field>
<field id="5" name="Our Address" type="text" displayTitle="true">
Gorse Hall Road Dukinfield
</field>
<field id="6" name="Postcode" type="text" displayTitle="true">
EG16 5HN
</field>
<field id="7" name="Web address" type="text" displayTitle="true">
http://www.mysite.co.uk/firtrees
</field>
<field id="8" name="Telephone" type="text" displayTitle="true">
0161 000 0000
</field>
<field id="9" name="Fax number" type="text" displayTitle="true">
0161 000 0001
</field>
<field id="10" name="Email" type="text" displayTitle="true">
marketing@example.com
</field>
<field id="11" name="Google Map" type="text" displayTitle="true">
53.475301619861355,-2.0665104396175593
</field>
<field id="12" name="Location" type="text" displayTitle="true">
How to find us
</field>
<field id="13" name="NHS" type="text" displayTitle="true">
No
</field>
<field id="14" name="Grade" type="text" displayTitle="true">
B
</field>
</fields>
</entry>