Example Request & Response (XML) - PUT Item List

Request

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

  <reference>sample string 2</reference>

  <items>

    <resource>

      <reference>sample string 1</reference>

      <id>1</id>

    </resource>

    <resource>

      <reference>sample string 1</reference>

      <id>1</id>

    </resource>

    <resource>

      <reference>sample string 1</reference>

      <id>1</id>

    </resource>

  </items>

  <name>sample string 1</name>

  <publishable>true</publishable>

</itemList>

 

Response

{

  "id": 22,

  "reference": "sample string 2",

  "href": "https:/...surpass.com/api/v2/ItemList/22",

  "errors": null,

  "serverTimeZone": null

}

 

Feedback and Knowledge Base