View all the Orders of an Item

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

HTTP Method

GET

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/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

{
  "data": [
    {
      "id": "string",
      "lineAction": "string",
      "lineActionMode": "string",
      "lineNumber": "string",
      "orderDate": "2016-08-16T09:19:59.889Z",
      "orderRef": "string",
      "planItemAction": "string",
      "planItemId": "string",
      "sid": 0,
      "stringComments": [
        "string"
      ]
    }
  ],
  "duration": 0,
  "result": {
    "code": "string",
    "message": "string",
    "params": [
      "string"
    ]
  },
  "startTimestampMS": 0
}

Response Codes and Descriptions

Response Code Description
401 Unauthorized
403 Forbidden
404 Not Found