Docs
Get Orders
GET /Orders
GET
/OrdersLists every order on the event with its derived status, declared status, source, money totals (estimated, quoted, fulfilled, invoiced, paid, outstanding), vendor and latest revision number. Estimated is the sum of the order's line totals as Orders_GetOrder prices them, plus its expense lines. Use Orders_GetOrder for one order's lines, documents and payments. With an org token (resource inventory read) it lists the organization-level orders and the orders on the organization's active events the caller reaches, each naming its event, line count and (organization-level only) department, default use and covering-line flag. Totals is null on that read.
Response
Type: GetOrdersResponse[]
GetOrdersResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| access | string[]| null | |
| status | string| null | |
| declaredStatus | string| null | |
| isPayloadLocked | boolean | |
| source | string| null | |
| name | string| null | |
| signals | string[]| null | |
| totals | GetOrdersResponseOrderTotals | |
| vendor | GetOrdersResponseVendorInfo | |
| latestVersionNumber | integer | |
| event | GetOrdersResponseNamedRef | |
| lineCount | integer | |
| requestingDepartment | GetOrdersResponseNamedRef | |
| defaultDisposition | string| null | |
| hasCoveringLines | boolean | |
| orderType | GetOrdersResponseNamedRef | |
| groupIds | uuid[]| null | |
| groups | GetOrdersResponseNamedRef[]| null |
GetOrdersResponseOrderTotals
| Field | Type | Description |
|---|---|---|
| estimated | number| null | |
| quoted | number| null | |
| fulfilled | number| null | |
| fulfilledBasis | string| null | |
| invoiced | number| null | |
| paid | number| null | |
| outstanding | number| null | |
| expectedTotal | number| null | |
| expectedTotalBasis | string| null |
GetOrdersResponseVendorInfo
| Field | Type | Description |
|---|---|---|
| collaboratorRecordId | uuid| null | |
| name | string| null |
GetOrdersResponseNamedRef
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |