Skip to main content

councillors/councillorsforward

Retrieves the details for all councillors within a specified ward / location.

Arguments:

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

Example request:

http://[domain]/api/councillors/councillorsforward.xml?
api_key=[api_key]&wardID=2&per_page=2&page=1

Example response:

<?xml version="1.0" encoding="utf-8"?>
<councillors page="1" pages="2" per_page="2" total="3">
<councillor id="42">
<name>Susan Cooley</name>
<address>43 Example Road, MANCHESTER, M23 2XS</address>
<telephone>0161 000 0000</telephone>
<email>cllr.s.cooley@mysite.gov.uk </email>
<party>Labour</party>
<imageURL>http://mysite.co.uk/images/one.jpg</imageURL>
<ward>Brooklands</ward>
<position>None</position>
</councillor>
<councillor id="40">
<name>Glynn Evans</name>
<address>38 Example Road, MANCHESTER, M23 9EK</address>
<telephone>0161 000 0000</telephone>
<email>cllr.g.evans@mysite.gov.uk</email>
<party>Labour</party>
<imageURL>http://mysite.co.uk/images/one.jpg</imageURL>
<ward>Brooklands</ward>
<position>None</position>
</councillor>
</councillors>