Example JSON Request & Response - POST Candidate

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

Headers
content-type: application/JSON
content-length: 401
accept: application/JSON

Body
{
  "firstName": "Scott",
  "lastName": "Flockton",
  "dateOfBirth": "1990-08-05",
  "email": "email@btl.com",
  "tеl": "01274 230270",
  "uln": "1234567890",
  "reasonableAdjustments": true,
  "retired": false,
  "isExternal": true,
  "centres": [
    {
      "reference": "BTL001"
    }
    ],
  "subjects": [
    {
      "reference": "03082016"
    },
     ],
  "reference": "CandidateReference1",
  "expiryDate": "2020-08-01T00:00:00",
}

Response

{
  "id": 189,
  "reference": "CandidateReference1",
  "href": "https://...surpass.com/api/v2/Candidate/189",
  "errors": null,
  "serverTimeZone": null
}

Feedback and Knowledge Base