Returns a collection with a key, ID, and link for each Order Entry document subtotals.
OK
Bad Request
{- "ia::result": [
- {
- "key": "13",
- "id": "13",
- "href": "/objects/order-entry/document-subtotal/13"
}, - {
- "key": "14",
- "id": "14",
- "href": "/objects/order-entry/document-subtotal/14"
}, - {
- "key": "15",
- "id": "15",
- "href": "/objects/order-entry/document-subtotal/15"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified Order Entry document subtotal.
key required | string System-assigned unique key for the document subtotal. Example: 84 |
OK
Bad Request
{- "ia::result": {
- "id": "307",
- "key": "307",
- "description": "Sales Discount",
- "absoluteValue": "14.5",
- "percentValue": "1.45",
- "total": "-14.5",
- "dimensions": {
- "location": {
- "key": "36",
- "id": "YNK",
- "href": "/objects/company-config/location/36"
}, - "department": {
- "key": "38",
- "id": "Accounting",
- "href": "/objects/company-config/department/38"
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}
}, - "txnAbsoluteValue": "14.5",
- "txnTotal": "-14.5",
- "documentLine": {
- "id": "233",
- "key": "233",
- "documentType": "Sales Invoice",
- "href": "/objects/order-entry-document-line::Sales%20Invoice/233"
}, - "documentHeader": {
- "key": "21",
- "id": "Sales Invoice-SUBINV#0100#doc",
- "documentType": "Sales Invoice",
- "href": "/objects/order-entry-document::Sales%20Invoice/21"
}, - "audit": {
- "createdDateTime": "2023-07-11T04:58:20Z",
- "modifiedDateTime": "2023-07-11T04:58:20Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/order-entry/document-subtotal/307"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find document subtotals that meet certain criteria and to specify the properties that are returned.
OK