Docs

Get Order Allocations

GET /Orders/{orderId}/allocations

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

FieldTypeRequiredDescription
orderIduuidRequired

Response

Type: GetOrderAllocationsResponse[]

GetOrderAllocationsResponse

FieldTypeDescription
lineIduuid
lineLabelGetOrderAllocationsResponseLineLabelInfo
lineCostnumber| null
allocatednumber| null
orgOverheadnumber| null
overAllocatedBynumber| null
eventsGetOrderAllocationsResponseEventAllocations[]| null
unallocatedNeedsGetOrderAllocationsResponseUnallocatedNeed[]| null

GetOrderAllocationsResponseLineLabelInfo

FieldTypeDescription
resourceTypeNamestring| null
resourceVariantNamestring| null
resourceNamestring| null
quantitynumber
windowStartdate-time| null
windowEnddate-time| null

GetOrderAllocationsResponseEventAllocations

FieldTypeDescription
eventIduuid| null
eventNamestring| null
totalnumber| null
rowsGetOrderAllocationsResponseRow[]| null

GetOrderAllocationsResponseUnallocatedNeed

FieldTypeDescription
eventIduuid| null
eventNamestring| null
procurementResourceIduuid| null
needNamestring| null
budgetLineNamestring| null
fromdate-time
todate-time
unitCountnumber

GetOrderAllocationsResponseRow

FieldTypeDescription
allocationIduuid
procurementResourceIduuid
needNamestring| null
budgetLineNamestring| null
amountnumber| null
notestring| null