Add an Order to an Item
Use the following details to add an Order to an Item using the REST interface:
HTTP Method
POST
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 |
lineAction | string | Yes |
lineActionMode | string | No |
lineNumber | string | Yes |
orderDate | dateTime | Yes |
orderRef | string | Yes |
planItemAction | string | No |
planItemId | string | No |
sid | No | |
stringcomments | string | No |
Request Model
Media Type: application/json
{ "id": "string", "lineAction": "string", "lineActionMode": "string", "lineNumber": "string", "orderDate": "2016-07-31T05:17:58.828Z", "orderRef": "string", "planItemAction": "string", "planItemId": "string", "sid": 0, "stringComments": [ "string" ] }
Response Model
{ "result": { "code": { "severity": "Success", "message": "Success.", "code": "0000" }, "params": [], "message": "Success." }, "data": { "sid": 0, "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": 1659700249055, "duration": 342 }