Example XML Request & Response - PUT TestSession

https://...surpass.com/api/v2/TestSession/DBRJGD8P

Header:

Content-length: 272
Content-type: application/xml

Accept: application/xml
Authorization: Basic Q1RMRGVtbzpQYXNzd29yZa==

Body:

<TestSessionStateUpdateResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SurpassApiSdk.DataContracts.TestSession">

  <testState>Voided</testState>

  <voidReason>Absent</voidReason>

  <forceLocalVoid>true</forceLocalVoid>

  </TestSessionStateUpdateResource>

Example PUT response (XML)

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<id i:nil="true" />
<href i:nil="true" />
<errors i:nil="true" />
<serverTimeZone i:nil="true" />
</response>

Feedback and Knowledge Base