Example JSON Request & Response - POST Subject

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

Header:

Content-length: 116
Content-type: application/json
Accept: application/json
Authorization: Basic Q1RMRGVtbzpQYXNzd29yZa==

Body:

{
  "reference": "Subject Ref",
  "name": "Subject Name",
  "primaryCentre": {
    "id": 232,
  },
  "deliveryType": "OnScreen",
  "htmlOnly": false
}

Response:

{
  "id": 1341,
  "reference": "Subject Ref1",
  "href": "https://...surpass.com/api/v2/Subject/1341",
  "errors": null,
  "serverTimeZone": null
}

Feedback and Knowledge Base