An Order Entry document history contains one entry for each existing transaction in the workflow associated with the selected transaction.
Returns a collection with a key, ID, and link for each Order Entry document history.
OK
Bad Request
{- "ia::result": [
- {
- "key": "15",
- "id": "15",
- "href": "/objects/order-entry/document-history/15"
}, - {
- "key": "16",
- "id": "16",
- "href": "/objects/order-entry/document-history/16"
}, - {
- "key": "17",
- "id": "17",
- "href": "/objects/order-entry/document-history/17"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified Order Entry document history.
key required | string System-assigned unique key for the document history. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "id": "411",
- "key": "411",
- "convertedTo": {
- "key": "483",
- "id": "Sales Invoice-SUBINV#0200#doc",
- "documentType": "Sales Invoice",
- "href": "/objects/order-entry-document::Sales%20Invoice/483"
}, - "convertedFrom": {
- "key": "482",
- "id": "Sales Order-SO0037",
- "documentType": "Sales Order",
- "href": "/objects/order-entry-document::Sales%20Order/482"
}, - "orderEntryDocument": {
- "key": "482",
- "id": "Sales Order-SO0037",
- "documentType": "Sales Order",
- "href": "/objects/order-entry-document::Sales%20Order/482"
}, - "href": "/objects/order-entry/document-history/411"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find document histories that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}