View all the Orders of an Item

Use the following details to view all the orders of an Item using the REST interface:

HTTP Method

GET

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/restapi/v1/item/{id}/order

Request Parameters

Provide values for the following parameters

Parameter Name Data Type Mandatory
id string Yes

Request Model

Media Type: application/json

Response Model

{
  "result": {
    "code": {
      "severity": "Success",
      "message": "Success.",
      "code": "0000"
    },
    "params": [],
    "message": "Success."
  },
  "data": [
    {
      "sid": 109,
      "id": "string",
      "orderRef": "string",
      "orderDate": "2014-06-27T19:41:15.000+0000",
      "lineNumber": "1",
      "lineAction": "string",
      "lineActionMode": null,
      "planItemId": null,
      "planItemAction": null,
      "stringComments": []
    },
    {
      "sid": 182,
      "id": "string",
      "orderRef": "string",
      "orderDate": "2022-08-05T11:50:12.949+0000",
      "lineNumber": "string",
      "lineAction": "string",
      "lineActionMode": "string",
      "planItemId": "string",
      "planItemAction": "string",
      "stringComments": [
        "string"
      ]
    }
  ],
  "startTimestampMS": 1659700508456,
  "duration": 136
}