Skip to main content

directories/{id}/entries

Retrieves all of the entries / records for the specified directory.

Arguments:

  • api_key (required)
  • id (required)
  • per_page (optional - default 10)
  • page (optional - default 1)

Example request:

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

Example response:

<?xml version="1.0" encoding="utf-8"?>
<entries directory_id="1" page="1" pages="1" per_page="10" total="2">
<entry id="3">
<title>My house</title>
<date></date>
<fields>
<field id="1" name="Textbox" type="text">
Test
</field>
<field id="2" name="Textarea" type="textarea">
Text
</field>
<field id="3" name="Selectbox" type="select">
Value 1
</field>
<field id="4" name="Image" type="image">
http://mysite.co.uk/images/one.gif
</field>
<field id="5" name="Radio buttons" type="radio">
Value 2
</field>
<field id="6" name="Location" type="map">
52.884600942258906,-2.4169921875
</field>
</fields>
</entry>
</entries>