GET/procurement-needs
Lists the organization's procurement resources whose schedule falls in a date window, across every active
event and the organization's own needs, with what fills each one per span: filled (confirmed, checked in or
completed), in progress (planned or requested) and who fills it. from and to are required. eventId narrows to
one event (ids from Organizations_GetEvents); resourceTypeIds narrows by resource type (ids from
ResourceTypes_Get). Takes an org token; requires organization basic access. A need on an event the caller can't
reach comes back with its dates, type and fills but no event, procurement or label.
Query Parameters
| Field | Type | Required | Description |
|---|
| from | date-time | Optional | |
| to | date-time | Optional | |
| eventId | uuid | Optional | |
| resourceTypeIds | uuid[] | Optional | |
Response
Type: GetProcurementNeedsResponse[]
GetProcurementNeedsResponse
| Field | Type | Description |
|---|
| procurementResourceId | uuid | |
| procurementId | uuid| null | |
| procurementName | string| null | |
| scope | string| null | |
| eventId | uuid| null | |
| eventName | string| null | |
| resourceTypeId | uuid | |
| eventResourceTypeId | uuid| null | |
| resourceTypeName | string| null | |
| resourceTypeKind | string| null | |
| resourceTypeIcon | string| null | |
| resourceTypeColor | string| null | |
| resourceVariantId | uuid| null | |
| resourceVariantName | string| null | |
| quantity | number | |
| index | integer | |
| label | string| null | |
| cloneGroupId | uuid| null | |
| parentProcurementResourceId | uuid| null | |
| isCompositeParent | boolean | |
| cloneGroupSize | integer| null | |
| cloneGroupPosition | integer| null | |
| filledQuantity | number | |
| pendingQuantity | number | |
| spans | GetProcurementNeedsResponseSpanInfo[]| null | |
| filledSpans | GetProcurementNeedsResponseFilledSpanInfo[]| null | |
| pendingSpans | GetProcurementNeedsResponsePendingSpanInfo[]| null | |
| filledBy | string[]| null | |
| orderLines | GetProcurementNeedsResponseOrderLineInfo[]| null | |
| orderCoverage | string| null | |
GetProcurementNeedsResponseSpanInfo
| Field | Type | Description |
|---|
| start | date-time | |
| end | date-time | |
GetProcurementNeedsResponseFilledSpanInfo
| Field | Type | Description |
|---|
| reservationId | uuid | |
| start | date-time | |
| end | date-time | |
| quantity | number | |
| filledBy | string| null | |
| vendorName | string| null | |
GetProcurementNeedsResponsePendingSpanInfo
| Field | Type | Description |
|---|
| reservationId | uuid | |
| start | date-time | |
| end | date-time | |
| quantity | number | |
| status | string| null | |
GetProcurementNeedsResponseOrderLineInfo
| Field | Type | Description |
|---|
| orderId | uuid | |
| orderName | string| null | |
| lineItemId | uuid | |
| quantity | number | |
| derivedStatus | string| null | |