Example JSON and XML PUT Request and Response (Subject)

Example PUT request (JSON)

PUT https://...surpass.com/api/v2/Subject/1527
{
"status": "Archived"
}


Example PUT response (JSON)

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


Example PUT request (XML)

<subject xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <status>Archived</status>

</subject>


Example PUT response (XML)

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <reference>JLTS2</reference>

  <id>1527</id>

  <href>https://...surpass.com/api/v2/Subject/1527</href>

  <errors i:nil="true" />

  <serverTimeZone i:nil="true" />

</response>

Feedback and Knowledge Base