Docs
Get Procurements
GET /procurements
GET
/procurementsLists every procurement on the event with its needs, groups, schedule blocks, priced totals and resource state records. Use Procurements_GetProcurement for one procurement with its order lines and linked advance requests. With an org token (resource inventory read) it lists the organization-level procurements instead. Every row carries departmentId and createdAt, and every need its securedQuantity, tentativeQuantity, doneness, reservations and orderCoverage.
Response
Type: GetProcurementsResponse[]
GetProcurementsResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| description | string| null | |
| status | string| null | |
| totalCost | number| null | |
| totalCharge | number| null | |
| groups | GetProcurementsResponseGroup[]| null | |
| resources | GetProcurementsResponseResource[]| null | |
| departmentId | uuid| null | |
| createdAt | date-time | |
| doneness | string| null | |
| overHeldNeedCount | integer |
GetProcurementsResponseGroup
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| notes | string| null | |
| index | integer |
GetProcurementsResponseResource
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| access | string[]| null | |
| status | string| null | |
| orderedQuantity | number | |
| quantity | number | |
| groupId | uuid| null | |
| area | GetProcurementsResponseResourceAreaInfo| null | |
| collaboratorId | uuid| null | |
| cloneGroupId | uuid| null | |
| label | string| null | |
| notes | string| null | |
| eventRoleId | uuid| null | |
| typeChangeHolds | GetProcurementResponseResourceTypeChangeHoldsInfo | |
| rateCardId | uuid| null | |
| rateCardName | string| null | |
| rateCardSource | string| null | |
| effectiveRateCardId | uuid| null | |
| rateCardSourceVariantName | string| null | |
| ruleSetSource | string| null | |
| effectiveRuleSetIds | uuid[]| null | |
| costPerUnit | number| null | |
| chargePerUnit | number| null | |
| totalCost | number| null | |
| totalCharge | number| null | |
| type | GetProcurementsResponseResourceResourceType | |
| attributeValues | GetProcurementsResponseResourceAttributeValue[]| null | |
| parentProcurementResourceId | uuid| null | |
| index | integer | |
| chargeReplacedByComposite | boolean | |
| componentId | uuid| null | |
| componentLabel | string| null | |
| allowedResourceVariantIds | uuid[]| null | |
| compositeCoverage | CompositeCoverageInfo | |
| compositeMoney | CompositeMoneyInfo | |
| scheduleBlocks | GetProcurementsResponseResourceScheduleBlock[]| null | |
| stateRecords | GetProcurementsResponseResourceStateRecord[]| null | |
| costSegments | GetProcurementsResponseResourceCostSegment[]| null | |
| costMinimums | GetProcurementsResponseResourceCostMinimum[]| null | |
| costModifiers | GetProcurementsResponseResourceCostModifier[]| null | |
| ruleSets | GetProcurementsResponseResourceRuleSetInfo[]| null | |
| securedQuantity | number | |
| tentativeQuantity | number | |
| doneness | string| null | |
| excessQuantity | number | |
| coverageStatus | string| null | |
| reservations | GetProcurementResponseResourceReservationInfo[]| null | |
| orderCoverage | string| null | |
| variant | GetProcurementResponseResourceVariantInfo | |
| owner | uuid| null | |
| startDateTime | date-time| null | |
| endDateTime | date-time| null | |
| orderLines | GetProcurementsResponseResourceOrderLine[]| null |
GetProcurementsResponseResourceAreaInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
GetProcurementResponseResourceTypeChangeHoldsInfo
| Field | Type | Description |
|---|---|---|
| reservationCount | integer | |
| orderLineCount | integer |
GetProcurementsResponseResourceResourceType
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| label | string| null | |
| trackingType | string| null | |
| icon | string| null | |
| color | string| null | |
| isScheduled | boolean | |
| lineItemLabel | string| null |
GetProcurementsResponseResourceAttributeValue
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| resourceAttributeId | uuid | |
| value | JsonElement| null |
CompositeCoverageInfo
| Field | Type | Description |
|---|---|---|
| fulfilledUnits | number | |
| openUnits | number | |
| isFilled | boolean | |
| status | string| null | |
| perComponent | CompositeCoverageInfoComponentInfo[]| null |
CompositeMoneyInfo
| Field | Type | Description |
|---|---|---|
| cost | number| null | |
| charge | number| null | |
| margin | number| null | |
| isChargeDeclared | boolean | |
| isPartial | boolean |
GetProcurementsResponseResourceScheduleBlock
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| access | string[]| null | |
| type | GetProcurementsResponseResourceScheduleBlockScheduleBlockTypeInfo | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| activityId | uuid| null | |
| notes | string| null | |
| area | GetProcurementsResponseResourceScheduleBlockAreaInfo| null | |
| collaboratorId | uuid| null | |
| costAmount | number| null | |
| chargeAmount | number| null | |
| requests | GetProcurementsResponseResourceScheduleBlockRequestSummary[]| null |
GetProcurementsResponseResourceStateRecord
| Field | Type | Description |
|---|---|---|
| stateId | uuid | |
| stateName | string| null | |
| stateColor | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time| null | |
| triggeredByRuleName | string| null |
GetProcurementsResponseResourceCostSegment
| Field | Type | Description |
|---|---|---|
| stateName | string| null | |
| period | string| null | |
| durationHours | number | |
| costAmount | number| null | |
| chargeAmount | number| null | |
| isFallback | boolean |
GetProcurementsResponseResourceCostMinimum
| Field | Type | Description |
|---|---|---|
| spanStart | date-time | |
| spanEnd | date-time | |
| costAmount | number| null | |
| chargeAmount | number| null |
GetProcurementsResponseResourceCostModifier
| Field | Type | Description |
|---|---|---|
| modifierId | uuid | |
| label | string| null | |
| value | string| null | |
| application | string| null | |
| costAmount | number| null | |
| chargeAmount | number| null |
GetProcurementsResponseResourceRuleSetInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null |
GetProcurementResponseResourceReservationInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| resourceId | uuid| null | |
| resourceName | string| null | |
| quantity | number| null | |
| status | string| null | |
| isReplaced | boolean | |
| start | date-time| null | |
| end | date-time| null |
GetProcurementResponseResourceVariantInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| isBase | boolean |
GetProcurementsResponseResourceOrderLine
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| orderId | uuid | |
| orderName | string| null | |
| quantity | number | |
| derivedStatus | string| null |