Example XML Request & Response - GET County

https://...surpass.com/api/v2/County?$filter=contains(name,'West')

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count>5</count>
  <top>10</top>
  <skip>0</skip>
  <pageCount>1</pageCount>
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <county>
      <id>6</id>
      <href>https://...surpass.com/api/v2/County/6</href>
      <name>West Midlands</name>
    </county>
    <county>
      <id>7</id>
      <href>https://...surpass.com/api/v2/County/7</href>
      <name>West Yorkshire</name>
    </county>
    <county>
      <id>39</id>
      <href>https://...surpass.com/api/v2/County/39</href>
      <name>West Sussex</name>
    </county>
    <county>
      <id>80</id>
      <href>https://...surpass.com/api/v2/County/80</href>
      <name>West Dunbartonshire</name>
    </county>
    <county>
      <id>81</id>
      <href>https://...surpass.com/api/v2/County/81</href>
      <name>West Lothian</name>
    </county>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

https://...surpass.com/api/v2/County/1

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count i:nil="true" />
  <top i:nil="true" />
  <skip i:nil="true" />
  <pageCount i:nil="true" />
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <county>
      <id>1</id>
      <href>https://...surpass.com/api/v2/County/1</href>
      <name>Greater London</name>
    </county>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>


Feedback and Knowledge Base