Example JSON Request & Response - GET Subject

https://...surpass.com/api/v2/Subject/

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

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

{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "name": "API Test",
      "primaryCentre": {
        "id": 12,
        "reference": "0000-0000",
        "href": "https://...surpass.com/api/v2/Centre/12"
      },
      "status": "Active",
      "deliveryType": "OnScreen",
      "htmlOnly": false,

"subjectMasterList": true,

      "id": 22,
      "reference": "APITest1",
      "href": "https://...surpass.com/api/v2/Subject/22"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}



Feedback and Knowledge Base