Example XML Request & Response - POST ItemList

Request URL

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

Request Headers

content-type:application/XML
Authorization: BASIC dXNlcm5hbWU6cGFzc3dvcmQ=
Accept: application/XML

Request Body  

<itemList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <reference>sample string 3</reference>
  <isBroadcasted>true</isBroadcasted>
  <items>
    <resource>
      <id>1596</id>
    </resource>
  </items>
  <name>sample string 1</name>
  <subject>
    <reference>BTLSF123</reference>
  </subject>
</itemList>

Response

HTTP status: 200

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <reference>sample string 3</reference>
  <id>6</id>
  <href>https://...surpass.com/api/v2/ItemList/6</href>
  <errors i:nil="true" />
  <serverTimeZone i:nil="true" />
</response>

Feedback and Knowledge Base