GET/Orders/{orderId}
Returns one order in full: derived and declared status, source, type values and roles,
groups, resource lines with their needs, schedule blocks and scheduledHours (the need's planned hours per head),
expense lines, quote and invoice documents (each line with its count and unit), payments, totals, vendor,
signals, and the revision row: canMint and whether Create would update the latest revision in place, the changes
since the latest revision (count and list), which of Mark sent, Return to draft, Discard, Confirm and Undo confirm
apply now, the latest and latest sent revision, and the current confirmation (who, when, note). Edits are free until
the order is Paid or Abandoned or Canceled; nothing creates a revision except Orders_MintOrderVersion. On an event
order each line's estimatedCost and lineTotal follow who is staffed: each live named booking at that person's rate
over the need's plan (as Fulfilled projects it), the rest at the need's estimate. rate is the line's per-period rate
(amount and period null when the people on it bill differently; fills lists each person's), sentRate the latest
sent revision's, quotedRate and invoicedRate the chosen quote's and the invoices' lines for the line's need on the
latest revision (none on an internal order), and variance the difference from the latest revision's rate, else the
live one, per period when the document's unit matches it, else of line totals (period null). All are null without
order amounts. The order id comes from Orders_GetOrders. An org token is also accepted on an event order of its
organization's events (order view).
An organization-level order (org token, resource inventory read) also returns its requesting department, default use,
covering-line flag, and per line its use, window (its own dates, else its need's schedule span), type, variant, named resource, rate card, offering, need, hold, units
in inventory and cost.
An org token also reads an event order of the organization's events, with the organization's order verbs.
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| access | string[]| null | |
| amountsEditable | boolean | |
| name | string| null | |
| status | string| null | |
| declaredStatus | string| null | |
| source | string| null | |
| signals | string[]| null | |
| vendor | GetOrderResponseVendorInfo | |
| lineItemGroups | GetOrderResponseLineItemGroup[]| null | |
| lineItems | GetOrderResponseLineItem[]| null | |
| expenseLineItems | GetOrderResponseExpenseLineItem[]| null | |
| documents | GetOrderResponseDocument[]| null | |
| payments | GetOrderResponsePayment[]| null | |
| totals | GetOrderResponseOrderTotals | |
| version | GetOrderResponseVersionInfo | |
| typeDocuments | GetOrderResponseTypeDocumentInfo[]| null | |
| requestingDepartment | GetOrderResponseNamedRef | |
| defaultDisposition | string| null | |
| hasCoveringLines | boolean | |
| orderType | GetOrderResponseOrderTypeInfo| null | |
| values | GetOrderResponseValueInfo[]| null | |
| isIncomplete | boolean | |
| missingRequired | MissingRequiredItem[]| null | |
| intakeAnswers | HostIntakeAnswerResponse[]| null | |
| intakeQuestions | HostIntakeQuestionResponse[]| null | |
| canEditTracking | boolean | |
| groupIds | uuid[]| null | |
| roles | OrderRoleSlotResponse[]| null | |
GetOrderResponseVendorInfo
| Field | Type | Description |
|---|
| collaboratorRecordId | uuid| null | |
| name | string| null | |
GetOrderResponseLineItemGroup
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| notes | string| null | |
| index | integer | |
GetOrderResponseLineItem
| Field | Type | Description |
|---|
| id | uuid | |
| index | integer | |
| showScheduleDetail | boolean | |
| quantity | number | |
| scheduledHours | number| null | |
| estimatedCost | number| null | |
| rate | GetOrderResponseLineItemRateInfo | |
| lineTotal | number| null | |
| sentRate | GetOrderResponseLineItemSentRateInfo | |
| quotedRate | GetOrderResponseLineItemDocumentRateInfo | |
| invoicedRate | GetOrderResponseLineItemDocumentRateInfo | |
| variance | GetOrderResponseLineItemVarianceInfo | |
| resource | GetOrderResponseLineItemProcResource | |
| lineItemGroupId | uuid| null | |
| disposition | string| null | |
| startDateTime | date-time| null | |
| endDateTime | date-time| null | |
| windowStart | date-time| null | |
| windowEnd | date-time| null | |
| resourceType | GetOrderResponseLineItemTypeRef | |
| resourceVariant | GetOrderResponseNamedRef | |
| namedResource | GetOrderResponseNamedRef | |
| rateCard | GetOrderResponseNamedRef | |
| providerOfferingId | uuid| null | |
| procurementResource | GetOrderResponseNamedRef | |
| hold | GetOrderResponseLineItemHoldRef | |
| unitsInInventory | integer | |
| incoming | boolean | |
| billingMode | string| null | |
| allocatedCost | number| null | |
| matchedCost | number| null | |
| lineCost | number| null | |
| allocatedToShows | number| null | |
GetOrderResponseExpenseLineItem
| Field | Type | Description |
|---|
| id | uuid | |
| index | integer | |
| description | string| null | |
| quantity | number | |
| unitAmount | number| null | |
| lineTotal | number| null | |
| lineItemGroupId | uuid| null | |
| expense | GetOrderResponseExpenseLineItemExpenseInfo | |
| isPossibleDuplicate | boolean | |
GetOrderResponseDocument
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| pricingLevel | string| null | |
| sourceCollaboratorRecordId | uuid| null | |
| enteredSubtotal | number| null | |
| subtotal | number| null | |
| total | number| null | |
| expenseContribution | number| null | |
| fileId | uuid| null | |
| file | GetOrderResponseDocumentFileInfo | |
| orderVersionId | uuid| null | |
| receivedDate | date-time| null | |
| isChosen | boolean | |
| source | string| null | |
| orderVersionNumber | integer| null | |
| isCounted | boolean | |
| hasAmounts | boolean | |
| vendorName | string| null | |
| reading | GetOrderResponseDocumentReadingInfo | |
| adjustments | GetOrderResponseDocumentAdjustment[]| null | |
| groups | GetOrderResponseDocumentLineGroup[]| null | |
| lines | GetOrderResponseDocumentLine[]| null | |
GetOrderResponsePayment
| Field | Type | Description |
|---|
| id | uuid | |
| orderDocumentId | uuid| null | |
| amount | number| null | |
| date | date-time | |
| method | string| null | |
| reference | string| null | |
| paymentMethodId | uuid| null | |
GetOrderResponseOrderTotals
| Field | Type | Description |
|---|
| estimated | number| null | |
| quoted | number| null | |
| fulfilled | number| null | |
| fulfilledBasis | string| null | |
| invoiced | number| null | |
| paid | number| null | |
| outstanding | number| null | |
| expectedTotal | number| null | |
| expectedTotalBasis | string| null | |
GetOrderResponseVersionInfo
| Field | Type | Description |
|---|
| isPayloadLocked | boolean | |
| canMint | boolean | |
| mintReplacesLatest | boolean | |
| hasChangesSinceLatestVersion | boolean | |
| changeCountSinceLatestVersion | integer | |
| changesSinceLatestVersion | GetOrderResponseVersionInfoChange[]| null | |
| canMarkSent | boolean | |
| canReturnToDraft | boolean | |
| canDiscard | boolean | |
| canConfirm | boolean | |
| canUndoConfirm | boolean | |
| links | GetOrderResponseVersionInfoLinkInfo[]| null | |
| canIssueLink | boolean | |
| latest | GetOrderResponseVersionInfoLatestInfo | |
| latestSent | GetOrderResponseVersionInfoLatestSentInfo | |
| canSwitchDocument | boolean | |
| confirmation | GetOrderResponseVersionInfoConfirmationInfo | |
GetOrderResponseTypeDocumentInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetOrderResponseNamedRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
GetOrderResponseOrderTypeInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| sections | GetOrderResponseSectionInfo[]| null | |
GetOrderResponseValueInfo
| Field | Type | Description |
|---|
| files | AttributeFileRead[]| null | |
| attributeId | uuid | |
| name | string| null | |
| value | JsonElement| null | |
| expiresOn | date| null | |
| itemExpiries | date[]| null | |
| isHidden | boolean | |
MissingRequiredItem
| Field | Type | Description |
|---|
| kind | string| null | |
| id | uuid | |
| name | string| null | |
| level | string| null | |
HostIntakeAnswerResponse
| Field | Type | Description |
|---|
| questionId | uuid | |
| useCase | string| null | |
| source | string| null | |
| value | JsonElement| null | |
| canEdit | boolean | |
HostIntakeQuestionResponse
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| questionText | string| null | |
| type | string| null | |
| isRequired | boolean | |
| index | integer | |
| useCase | string| null | |
| useCases | string[]| null | |
| canEdit | boolean | |
| options | HostIntakeQuestionResponseOptionInfo[]| null | |
OrderRoleSlotResponse
| Field | Type | Description |
|---|
| requiresProcurement | boolean | |
| resourceTypes | OrderRoleResourceTypeResponse[]| null | |
| isHidden | boolean | |
| occupants | OrderRoleOccupantResponse[]| null | |
| roleDefinitionId | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| useCase | string| null | |
| source | string| null | |
| isRequired | boolean | |
| isTaskTracked | boolean | |
| canEdit | boolean | |
| filledByEventRoleId | uuid| null | |
| filledByEventRoleName | string| null | |
| tracking | HostTrackingResponse | |
GetOrderResponseLineItemRateInfo
| Field | Type | Description |
|---|
| amount | number| null | |
| period | string| null | |
| hasMoreRows | boolean | |
| fills | GetOrderResponseLineItemRateInfoFill[]| null | |
GetOrderResponseLineItemSentRateInfo
| Field | Type | Description |
|---|
| amount | number| null | |
| period | string| null | |
| lineTotal | number| null | |
GetOrderResponseLineItemDocumentRateInfo
| Field | Type | Description |
|---|
| amount | number| null | |
| unit | string| null | |
| lineTotal | number| null | |
GetOrderResponseLineItemVarianceInfo
| Field | Type | Description |
|---|
| amount | number| null | |
| period | string| null | |
GetOrderResponseLineItemProcResource
| Field | Type | Description |
|---|
| procurementId | uuid | |
| id | uuid | |
| cloneGroupId | uuid| null | |
| type | GetOrderResponseLineItemProcResourceResourceType | |
| properties | GetOrderResponseLineItemProcResourceProperty[]| null | |
| scheduleBlocks | GetOrderResponseLineItemProcResourceScheduleBlock[]| null | |
GetOrderResponseLineItemTypeRef
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| type | string| null | |
| trackingType | string| null | |
GetOrderResponseLineItemHoldRef
| Field | Type | Description |
|---|
| id | uuid | |
| status | string| null | |
GetOrderResponseExpenseLineItemExpenseInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| payee | GetOrderResponseExpenseLineItemExpenseInfoPayeeInfo | |
GetOrderResponseDocumentFileInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| versionId | uuid| null | |
| formats | GetOrderResponseDocumentFileInfoFormat[]| null | |
GetOrderResponseDocumentReadingInfo
| Field | Type | Description |
|---|
| id | uuid | |
| state | string| null | |
| failureCode | string| null | |
GetOrderResponseDocumentAdjustment
| Field | Type | Description |
|---|
| label | string| null | |
| amount | number| null | |
GetOrderResponseDocumentLineGroup
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| subtotal | number| null | |
| index | integer | |
GetOrderResponseDocumentLine
| Field | Type | Description |
|---|
| id | uuid | |
| index | integer | |
| description | string| null | |
| quantity | number | |
| count | number | |
| unit | string| null | |
| unitPrice | number| null | |
| lineTotal | number| null | |
| orderDocumentLineGroupId | uuid| null | |
| procurementResourceId | uuid| null | |
| kind | string| null | |
| orderLineItemId | uuid| null | |
GetOrderResponseVersionInfoChange
| Field | Type | Description |
|---|
| kind | string| null | |
| field | string| null | |
| from | string| null | |
| to | string| null | |
| phrasing | string| null | |
GetOrderResponseVersionInfoLinkInfo
| Field | Type | Description |
|---|
| id | uuid | |
| vendorCollaboratorRecordId | uuid| null | |
| vendorName | string| null | |
| createdByName | string| null | |
| createdAt | date-time | |
| status | string| null | |
GetOrderResponseVersionInfoLatestInfo
| Field | Type | Description |
|---|
| id | uuid | |
| number | integer | |
| status | string| null | |
| documentName | string| null | |
| orderTypeDocumentId | uuid| null | |
| sentAt | date-time| null | |
| firstSentAt | date-time| null | |
| documentCount | integer | |
GetOrderResponseVersionInfoLatestSentInfo
| Field | Type | Description |
|---|
| id | uuid | |
| number | integer | |
GetOrderResponseVersionInfoConfirmationInfo
| Field | Type | Description |
|---|
| via | string| null | |
| byName | string| null | |
| at | date-time | |
| note | string| null | |
GetOrderResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| attributes | GetOrderResponsePlacementInfo[]| null | |
| roles | GetOrderResponseRolePlacementInfo[]| null | |
AttributeFileRead
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| versionId | uuid| null | |
| formats | AttributeFileReadFormatInfo[]| null | |
HostIntakeQuestionResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| value | string| null | |
| color | string| null | |
| isArchived | boolean | |
OrderRoleResourceTypeResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
OrderRoleOccupantResponse
| Field | Type | Description |
|---|
| kind | string| null | |
| resourceId | uuid| null | |
| procurementResourceId | uuid| null | |
| procurementId | uuid| null | |
| sourceRoleId | uuid| null | |
| displayName | string| null | |
| label | string| null | |
| procurementName | string| null | |
| filledByResourceName | string| null | |
| isArchived | boolean | |
| components | OrderRoleOccupantResponseComponentInfo[]| null | |
| crewId | uuid| null | |
| collaboratorRecordId | uuid| null | |
| name | string| null | |
| imageUrl | string| null | |
HostTrackingResponse
| Field | Type | Description |
|---|
| isRequired | HostTrackingResponseFlagState | |
| isTaskTracked | HostTrackingResponseFlagState | |
| isTaskReviewRequired | HostTrackingResponseFlagState | |
| dueDate | HostTrackingResponseDueDateState | |
| taskId | uuid| null | |
| taskStatus | string| null | |
| isReviewRouteOwn | boolean| null | |
| canReview | boolean | |
| canOverride | boolean | |
| trackedLockedReason | string| null | |
GetOrderResponseLineItemRateInfoFill
| Field | Type | Description |
|---|
| reservationId | uuid | |
| resourceName | string| null | |
| quantity | number | |
| amount | number| null | |
| period | string| null | |
GetOrderResponseLineItemProcResourceResourceType
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| icon | string| null | |
| lineItemLabel | string| null | |
GetOrderResponseLineItemProcResourceProperty
| Field | Type | Description |
|---|
| id | uuid | |
| resourceAttributeId | uuid | |
| value | string| null | |
GetOrderResponseLineItemProcResourceScheduleBlock
| Field | Type | Description |
|---|
| id | uuid | |
| type | GetOrderResponseLineItemProcResourceScheduleBlockScheduleBlockTypeInfo | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| notes | string| null | |
| area | GetOrderResponseLineItemProcResourceScheduleBlockAreaInfo| null | |
| collaboratorId | uuid| null | |
GetOrderResponseExpenseLineItemExpenseInfoPayeeInfo
| Field | Type | Description |
|---|
| type | string| null | |
| id | uuid| null | |
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| size | integer | |
| uri | uri| null | |
GetOrderResponsePlacementInfo
| Field | Type | Description |
|---|
| files | AttributeFileRead[]| null | |
| attributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isRequired | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isMaterial | boolean | |
| showOnCreateForm | boolean | |
| index | integer | |
| displayMode | string| null | |
| value | JsonElement| null | |
| hasExpiration | boolean | |
| expiresOn | date| null | |
| itemExpiries | date[]| null | |
| options | GetOrderResponseOptionInfo[]| null | |
| availability | GetOrderResponseAvailabilityInfo | |
| canEdit | boolean | |
| tracking | HostTrackingResponse | |
| aiFill | AiFillStateResponse | |
GetOrderResponseRolePlacementInfo
| Field | Type | Description |
|---|
| roleDefinitionId | uuid | |
| name | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| requiresProcurement | boolean | |
| isRequired | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| index | integer | |
| tracking | HostTrackingResponse | |
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| size | integer | |
| uri | string| null | |
OrderRoleOccupantResponseComponentInfo
| Field | Type | Description |
|---|
| procurementResourceId | uuid | |
| label | string| null | |
| typeName | string| null | |
| filledByResourceName | string| null | |
HostTrackingResponseFlagState
| Field | Type | Description |
|---|
| effective | boolean | |
| isOverridden | boolean | |
HostTrackingResponseDueDateState
| Field | Type | Description |
|---|
| effective | date-time| null | |
| isOverridden | boolean | |