Example XML Request & Response - POST Item Set

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

Body:

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

  <allowRandomisation>false</allowRandomisation>

  <items>

    <item>

      <id>25918</id>

    </item>

  </items>

  <locked>false</locked>

  <owner>

    <id>488</id>

  </owner>

  <parentFolderId>0</parentFolderId>

  <position>1</position>

  <name>Test sample set</name>

  <subject>

    <reference>6af4cd30-9cb4-48a7-af1d-0ff8f64326ef</reference>

    <id>4419</id>

    <href>Earth_Subject</href>

  </subject>

</itemSet>

 

Response:

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

  <id>26135</id>

  <href>https://...surpass.com/api/v2/ItemSet/26135</href>

  <errors i:nil="true" />

</response>

 

Feedback and Knowledge Base