Example JSON and XML PUT Request and Response (User)

Example PUT request (JSON)

PUT https://...surpass.com/api/v2/User?reference=btljamesl
{
  "jobTitle": "Examiner",
}



Example PUT response (JSON)

{
  "id": 665,
  "reference": "btljamesl",
  "href": "https://...surpass.com/api/v2/User/665",
  "errors": null,
  "serverTimeZone": null
}



Example PUT request (XML)

<user xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <email>jltest@btl.com</email>
</user>



Example PUT response (XML)

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <reference>btljamesl</reference>
  <id>665</id>
  <href>https://...surpass.com/api/v2/User/665</href>
  <errors i:nil="true" />
  <serverTimeZone i:nil="true" />
</response>

Feedback and Knowledge Base