Example JSON Request & Response - POST ItemList

Request URL

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

Request Headers

content-type:application/JSON
Authorization: BASIC dXNlcm5hbWU6cGFzc3dvcmQ=

Request Body

{
  "name": "Item List Name",
  "subject": {
    "reference": "Subject Reference"
  },
  "isBroadcasted": true,
  "items": [
    {
      "id": 1,
      "reference": "sample string 1"
    },
    {
      "id": 1,
      "reference": "sample string 1"
    }
  ],
  "reference": "Item List Reference"
}

Response

HTTP Status: 200

{
  "id": 5,
  "reference": "Item List Reference",
  "href": "https://....surpass.com/api/v2/ItemList/5",
  "errors": null,
  "serverTimeZone": null
}

Feedback and Knowledge Base