Example XML Request & Response - GET Country

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

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

https://...surpass.com/api/v2/Country/{id}


<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>
    <country>
      <id>0</id>
      <href>https://....surpass.com/api/v2/Country/0</href>
      <name>England</name>
      <counties>
        <county>
          <id>1</id>
          <href>https://...surpass.com/api/v2/County/1</href>
          <name>Greater London</name>
        </county>
        <county>
          <id>2</id>
          <href>https://...surpass.com/api/v2/County/2</href>
          <name>Greater Manchester</name>
        </county>
        <county>
          <id>3</id>
          <href>https://...surpass.com/api/v2/County/3</href>
          <name>Merseyside</name>
        </county>
        <county>
          <id>4</id>
          <href>https://...surpass.com/api/v2/County/4</href>
          <name>South Yorkshire</name>
        </county>...
      </counties>
    </country>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

Feedback and Knowledge Base