Example JSON Request & Response - GET Country

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

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

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

{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "id": 0,
      "href": "https://...surpass.com/api/v2/Country/0",
      "name": "England",
      "counties": [
        {
          "id": 1,
          "href": "https://...surpass.com/api/v2/County/1",
          "name": "Greater London"
        },
        {
          "id": 2,
          "href": "https://....surpass.com/api/v2/County/2",
          "name": "Greater Manchester"
        },
        {
          "id": 3,
          "href": "https://demo.surpass.com/api/v2/County/3",
          "name": "Merseyside"
        },
        {
          "id": 4,
          "href": "https://demo.surpass.com/api/v2/County/4",
          "name": "South Yorkshire"
        },...
      ]
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

Feedback and Knowledge Base