Docs

Get Procurements

GET /procurements

GET/procurements

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Returns every procurement on the event with its needs.

Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Response Fields

FieldTypeDescription
idGuidProcurement.
name / descriptionstringDisplay fields.
statusstringRolled-up status.
totalCost / totalChargedecimalSum of top-level needs; component needs are counted through their parent.
groupsarray`{ id, name, notes, index }`.
resourcesarrayThe needs.
resources[].idGuidThe need.
resources[].statusstring`NeedsOrdered`, `Short`, `OnOrder` or `Excess`.
resources[].quantitydecimalQuantity needed.
resources[].groupIdGuid| nullThe group it sits in.
resources[].areaobject| null`{ id, name }`.
resources[].cloneGroupIdGuid| nullShared by needs cloned from the same source.
resources[].rateCardId / rateCardNameGuid? / stringThe need's own card.
resources[].costPerUnit / chargePerUnit / totalCost / totalChargedecimalPriced money. A composite parent's totals are the composite's.
resources[].typeobject`{ id, label, trackingType, icon, lineItemLabel }`.
resources[].attributeValuesarray`{ id, resourceAttributeId, value }`.
resources[].parentProcurementResourceIdGuid| nullSet on a composite's component need.
resources[].componentId / componentLabelGuid? / stringThe composite slot a component need fills.
resources[].allowedResourceVariantIdsGuid[]A component need's allowed variants: empty = any.
resources[].chargeReplacedByCompositeboolTrue on a component need whose parent has a composite card: its charge is not applied (totals already exclude it).
resources[].compositeCoverageobject| nullA parent's fill: `{ fulfilledUnits, openUnits, isFilled, status, perComponent[] }`.
resources[].compositeMoneyobject| nullA parent's money: `{ cost, charge, margin, isChargeDeclared, isPartial }`.
resources[].scheduleBlocksarray`{ id, type: { id, name, color, icon }, name, startDateTime, endDateTime, activityId, notes, area, collaboratorId, costAmount, chargeAmount, requests: [{ id }] }`.
resources[].costSegmentsarray`{ stateName, period, durationHours, costAmount, chargeAmount, isFallback }`.
resources[].costMinimumsarray`{ spanStart, spanEnd, costAmount, chargeAmount }`.
resources[].costModifiersarray`{ modifierId, label, value, application, costAmount, chargeAmount }`.
resources[].ruleSetsarray`{ id, name }`.
resources[].orderedQuantitydecimalSum of the need's order line quantities.
resources[].stateRecordsarray`{ stateId, stateName, stateColor, startDateTime, endDateTime, triggeredByRuleName }`.