Example JSON Request & Response - GET County

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

{
  "count": 5,
  "top": 10,
  "skip": 0,
  "pageCount": 1,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "id": 6,
      "href": "https://...surpass.com/api/v2/County/6",
      "name": "West Midlands"
    },
    {
      "id": 7,
      "href": "https://...surpass.com/api/v2/County/7",
      "name": "West Yorkshire"
    },
    {
      "id": 39,
      "href": "https://...surpass.com/api/v2/County/39",
      "name": "West Sussex"
    },
    {
      "id": 80,
      "href": "https://...surpass.com/api/v2/County/80",
      "name": "West Dunbartonshire"
    },
    {
      "id": 81,
      "href": "https://...surpass.com/api/v2/County/81",
      "name": "West Lothian"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

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

{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "id": 1,
      "href": "https://...surpass.com/api/v2/County/1",
      "name": "Greater London"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}


Feedback and Knowledge Base