GET/Orders/{orderId}/allocations
Lists each Covering line's cost, every show's allocated amounts by need, the needs reserving the line's supply
with no amount, and the org overhead (line cost less the allocations). Shows the caller can't reach come back as
one allocation total and one unallocated-units total per line, with no show or need named. Use orderId from
Orders_GetOrders. Requires resource inventory read.
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
Response
Type: GetOrderAllocationsResponse[]
GetOrderAllocationsResponse
| Field | Type | Description |
|---|
| lineId | uuid | |
| lineLabel | GetOrderAllocationsResponseLineLabelInfo | |
| lineCost | number| null | |
| allocated | number| null | |
| orgOverhead | number| null | |
| overAllocatedBy | number| null | |
| events | GetOrderAllocationsResponseEventAllocations[]| null | |
| unallocatedNeeds | GetOrderAllocationsResponseUnallocatedNeed[]| null | |
GetOrderAllocationsResponseLineLabelInfo
| Field | Type | Description |
|---|
| resourceTypeName | string| null | |
| resourceVariantName | string| null | |
| resourceName | string| null | |
| quantity | number | |
| windowStart | date-time| null | |
| windowEnd | date-time| null | |
GetOrderAllocationsResponseEventAllocations
| Field | Type | Description |
|---|
| eventId | uuid| null | |
| eventName | string| null | |
| total | number| null | |
| rows | GetOrderAllocationsResponseRow[]| null | |
GetOrderAllocationsResponseUnallocatedNeed
| Field | Type | Description |
|---|
| eventId | uuid| null | |
| eventName | string| null | |
| procurementResourceId | uuid| null | |
| needName | string| null | |
| budgetLineName | string| null | |
| from | date-time | |
| to | date-time | |
| unitCount | number | |
GetOrderAllocationsResponseRow
| Field | Type | Description |
|---|
| allocationId | uuid | |
| procurementResourceId | uuid | |
| needName | string| null | |
| budgetLineName | string| null | |
| amount | number| null | |
| note | string| null | |