Docs

Get Order

GET /Orders/{orderId}

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

FieldTypeRequiredDescription
orderIduuidRequired

Response

FieldTypeDescription
iduuid
accessstring[]| null
amountsEditableboolean
namestring| null
statusstring| null
declaredStatusstring| null
sourcestring| null
signalsstring[]| null
vendorGetOrderResponseVendorInfo
lineItemGroupsGetOrderResponseLineItemGroup[]| null
lineItemsGetOrderResponseLineItem[]| null
expenseLineItemsGetOrderResponseExpenseLineItem[]| null
documentsGetOrderResponseDocument[]| null
paymentsGetOrderResponsePayment[]| null
totalsGetOrderResponseOrderTotals
versionGetOrderResponseVersionInfo
typeDocumentsGetOrderResponseTypeDocumentInfo[]| null
requestingDepartmentGetOrderResponseNamedRef
defaultDispositionstring| null
hasCoveringLinesboolean
orderTypeGetOrderResponseOrderTypeInfo| null
valuesGetOrderResponseValueInfo[]| null
isIncompleteboolean
missingRequiredMissingRequiredItem[]| null
intakeAnswersHostIntakeAnswerResponse[]| null
intakeQuestionsHostIntakeQuestionResponse[]| null
canEditTrackingboolean
groupIdsuuid[]| null
rolesOrderRoleSlotResponse[]| null

GetOrderResponseVendorInfo

FieldTypeDescription
collaboratorRecordIduuid| null
namestring| null

GetOrderResponseLineItemGroup

FieldTypeDescription
iduuid
namestring| null
notesstring| null
indexinteger

GetOrderResponseLineItem

FieldTypeDescription
iduuid
indexinteger
showScheduleDetailboolean
quantitynumber
scheduledHoursnumber| null
estimatedCostnumber| null
rateGetOrderResponseLineItemRateInfo
lineTotalnumber| null
sentRateGetOrderResponseLineItemSentRateInfo
quotedRateGetOrderResponseLineItemDocumentRateInfo
invoicedRateGetOrderResponseLineItemDocumentRateInfo
varianceGetOrderResponseLineItemVarianceInfo
resourceGetOrderResponseLineItemProcResource
lineItemGroupIduuid| null
dispositionstring| null
startDateTimedate-time| null
endDateTimedate-time| null
windowStartdate-time| null
windowEnddate-time| null
resourceTypeGetOrderResponseLineItemTypeRef
resourceVariantGetOrderResponseNamedRef
namedResourceGetOrderResponseNamedRef
rateCardGetOrderResponseNamedRef
providerOfferingIduuid| null
procurementResourceGetOrderResponseNamedRef
holdGetOrderResponseLineItemHoldRef
unitsInInventoryinteger
incomingboolean
billingModestring| null
allocatedCostnumber| null
matchedCostnumber| null
lineCostnumber| null
allocatedToShowsnumber| null

GetOrderResponseExpenseLineItem

FieldTypeDescription
iduuid
indexinteger
descriptionstring| null
quantitynumber
unitAmountnumber| null
lineTotalnumber| null
lineItemGroupIduuid| null
expenseGetOrderResponseExpenseLineItemExpenseInfo
isPossibleDuplicateboolean

GetOrderResponseDocument

FieldTypeDescription
iduuid
typestring| null
pricingLevelstring| null
sourceCollaboratorRecordIduuid| null
enteredSubtotalnumber| null
subtotalnumber| null
totalnumber| null
expenseContributionnumber| null
fileIduuid| null
fileGetOrderResponseDocumentFileInfo
orderVersionIduuid| null
receivedDatedate-time| null
isChosenboolean
sourcestring| null
orderVersionNumberinteger| null
isCountedboolean
hasAmountsboolean
vendorNamestring| null
readingGetOrderResponseDocumentReadingInfo
adjustmentsGetOrderResponseDocumentAdjustment[]| null
groupsGetOrderResponseDocumentLineGroup[]| null
linesGetOrderResponseDocumentLine[]| null

GetOrderResponsePayment

FieldTypeDescription
iduuid
orderDocumentIduuid| null
amountnumber| null
datedate-time
methodstring| null
referencestring| null
paymentMethodIduuid| null

GetOrderResponseOrderTotals

FieldTypeDescription
estimatednumber| null
quotednumber| null
fulfillednumber| null
fulfilledBasisstring| null
invoicednumber| null
paidnumber| null
outstandingnumber| null
expectedTotalnumber| null
expectedTotalBasisstring| null

GetOrderResponseVersionInfo

FieldTypeDescription
isPayloadLockedboolean
canMintboolean
mintReplacesLatestboolean
hasChangesSinceLatestVersionboolean
changeCountSinceLatestVersioninteger
changesSinceLatestVersionGetOrderResponseVersionInfoChange[]| null
canMarkSentboolean
canReturnToDraftboolean
canDiscardboolean
canConfirmboolean
canUndoConfirmboolean
linksGetOrderResponseVersionInfoLinkInfo[]| null
canIssueLinkboolean
latestGetOrderResponseVersionInfoLatestInfo
latestSentGetOrderResponseVersionInfoLatestSentInfo
canSwitchDocumentboolean
confirmationGetOrderResponseVersionInfoConfirmationInfo

GetOrderResponseTypeDocumentInfo

FieldTypeDescription
iduuid
namestring| null

GetOrderResponseNamedRef

FieldTypeDescription
iduuid
namestring| null

GetOrderResponseOrderTypeInfo

FieldTypeDescription
iduuid
namestring| null
iconstring| null
colorstring| null
isArchivedboolean
sectionsGetOrderResponseSectionInfo[]| null

GetOrderResponseValueInfo

FieldTypeDescription
filesAttributeFileRead[]| null
attributeIduuid
namestring| null
valueJsonElement| null
expiresOndate| null
itemExpiriesdate[]| null
isHiddenboolean

MissingRequiredItem

FieldTypeDescription
kindstring| null
iduuid
namestring| null
levelstring| null

HostIntakeAnswerResponse

FieldTypeDescription
questionIduuid
useCasestring| null
sourcestring| null
valueJsonElement| null
canEditboolean

HostIntakeQuestionResponse

FieldTypeDescription
iduuid
labelstring| null
questionTextstring| null
typestring| null
isRequiredboolean
indexinteger
useCasestring| null
useCasesstring[]| null
canEditboolean
optionsHostIntakeQuestionResponseOptionInfo[]| null

OrderRoleSlotResponse

FieldTypeDescription
requiresProcurementboolean
resourceTypesOrderRoleResourceTypeResponse[]| null
isHiddenboolean
occupantsOrderRoleOccupantResponse[]| null
roleDefinitionIduuid
namestring| null
iconstring| null
colorstring| null
fillerKindstring| null
cardinalitystring| null
useCasestring| null
sourcestring| null
isRequiredboolean
isTaskTrackedboolean
canEditboolean
filledByEventRoleIduuid| null
filledByEventRoleNamestring| null
trackingHostTrackingResponse

GetOrderResponseLineItemRateInfo

FieldTypeDescription
amountnumber| null
periodstring| null
hasMoreRowsboolean
fillsGetOrderResponseLineItemRateInfoFill[]| null

GetOrderResponseLineItemSentRateInfo

FieldTypeDescription
amountnumber| null
periodstring| null
lineTotalnumber| null

GetOrderResponseLineItemDocumentRateInfo

FieldTypeDescription
amountnumber| null
unitstring| null
lineTotalnumber| null

GetOrderResponseLineItemVarianceInfo

FieldTypeDescription
amountnumber| null
periodstring| null

GetOrderResponseLineItemProcResource

FieldTypeDescription
procurementIduuid
iduuid
cloneGroupIduuid| null
typeGetOrderResponseLineItemProcResourceResourceType
propertiesGetOrderResponseLineItemProcResourceProperty[]| null
scheduleBlocksGetOrderResponseLineItemProcResourceScheduleBlock[]| null

GetOrderResponseLineItemTypeRef

FieldTypeDescription
iduuid
namestring| null
iconstring| null
typestring| null
trackingTypestring| null

GetOrderResponseLineItemHoldRef

FieldTypeDescription
iduuid
statusstring| null

GetOrderResponseExpenseLineItemExpenseInfo

FieldTypeDescription
iduuid
namestring| null
payeeGetOrderResponseExpenseLineItemExpenseInfoPayeeInfo

GetOrderResponseDocumentFileInfo

FieldTypeDescription
iduuid
namestring| null
versionIduuid| null
formatsGetOrderResponseDocumentFileInfoFormat[]| null

GetOrderResponseDocumentReadingInfo

FieldTypeDescription
iduuid
statestring| null
failureCodestring| null

GetOrderResponseDocumentAdjustment

FieldTypeDescription
labelstring| null
amountnumber| null

GetOrderResponseDocumentLineGroup

FieldTypeDescription
iduuid
namestring| null
subtotalnumber| null
indexinteger

GetOrderResponseDocumentLine

FieldTypeDescription
iduuid
indexinteger
descriptionstring| null
quantitynumber
countnumber
unitstring| null
unitPricenumber| null
lineTotalnumber| null
orderDocumentLineGroupIduuid| null
procurementResourceIduuid| null
kindstring| null
orderLineItemIduuid| null

GetOrderResponseVersionInfoChange

FieldTypeDescription
kindstring| null
fieldstring| null
fromstring| null
tostring| null
phrasingstring| null

GetOrderResponseVersionInfoLinkInfo

FieldTypeDescription
iduuid
vendorCollaboratorRecordIduuid| null
vendorNamestring| null
createdByNamestring| null
createdAtdate-time
statusstring| null

GetOrderResponseVersionInfoLatestInfo

FieldTypeDescription
iduuid
numberinteger
statusstring| null
documentNamestring| null
orderTypeDocumentIduuid| null
sentAtdate-time| null
firstSentAtdate-time| null
documentCountinteger

GetOrderResponseVersionInfoLatestSentInfo

FieldTypeDescription
iduuid
numberinteger

GetOrderResponseVersionInfoConfirmationInfo

FieldTypeDescription
viastring| null
byNamestring| null
atdate-time
notestring| null

GetOrderResponseSectionInfo

FieldTypeDescription
iduuid
namestring| null
indexinteger
zonestring| null
attributesGetOrderResponsePlacementInfo[]| null
rolesGetOrderResponseRolePlacementInfo[]| null

AttributeFileRead

FieldTypeDescription
iduuid
namestring| null
versionIduuid| null
formatsAttributeFileReadFormatInfo[]| null

HostIntakeQuestionResponseOptionInfo

FieldTypeDescription
iduuid
valuestring| null
colorstring| null
isArchivedboolean

OrderRoleResourceTypeResponse

FieldTypeDescription
iduuid
namestring| null

OrderRoleOccupantResponse

FieldTypeDescription
kindstring| null
resourceIduuid| null
procurementResourceIduuid| null
procurementIduuid| null
sourceRoleIduuid| null
displayNamestring| null
labelstring| null
procurementNamestring| null
filledByResourceNamestring| null
isArchivedboolean
componentsOrderRoleOccupantResponseComponentInfo[]| null
crewIduuid| null
collaboratorRecordIduuid| null
namestring| null
imageUrlstring| null

HostTrackingResponse

FieldTypeDescription
isRequiredHostTrackingResponseFlagState
isTaskTrackedHostTrackingResponseFlagState
isTaskReviewRequiredHostTrackingResponseFlagState
dueDateHostTrackingResponseDueDateState
taskIduuid| null
taskStatusstring| null
isReviewRouteOwnboolean| null
canReviewboolean
canOverrideboolean
trackedLockedReasonstring| null

GetOrderResponseLineItemRateInfoFill

FieldTypeDescription
reservationIduuid
resourceNamestring| null
quantitynumber
amountnumber| null
periodstring| null

GetOrderResponseLineItemProcResourceResourceType

FieldTypeDescription
iduuid
labelstring| null
iconstring| null
lineItemLabelstring| null

GetOrderResponseLineItemProcResourceProperty

FieldTypeDescription
iduuid
resourceAttributeIduuid
valuestring| null

GetOrderResponseLineItemProcResourceScheduleBlock

FieldTypeDescription
iduuid
typeGetOrderResponseLineItemProcResourceScheduleBlockScheduleBlockTypeInfo
namestring| null
startDateTimedate-time
endDateTimedate-time
notesstring| null
areaGetOrderResponseLineItemProcResourceScheduleBlockAreaInfo| null
collaboratorIduuid| null

GetOrderResponseExpenseLineItemExpenseInfoPayeeInfo

FieldTypeDescription
typestring| null
iduuid| null

GetOrderResponseDocumentFileInfoFormat

FieldTypeDescription
iduuid
typestring| null
sizeinteger
uriuri| null

GetOrderResponsePlacementInfo

FieldTypeDescription
filesAttributeFileRead[]| null
attributeIduuid
namestring| null
fieldClassIduuid| null
typestring| null
isRequiredboolean
isCollaboratorVisibleboolean
isCollaboratorEditableboolean
isMaterialboolean
showOnCreateFormboolean
indexinteger
displayModestring| null
valueJsonElement| null
hasExpirationboolean
expiresOndate| null
itemExpiriesdate[]| null
optionsGetOrderResponseOptionInfo[]| null
availabilityGetOrderResponseAvailabilityInfo
canEditboolean
trackingHostTrackingResponse
aiFillAiFillStateResponse

GetOrderResponseRolePlacementInfo

FieldTypeDescription
roleDefinitionIduuid
namestring| null
fillerKindstring| null
cardinalitystring| null
requiresProcurementboolean
isRequiredboolean
isCollaboratorVisibleboolean
isCollaboratorEditableboolean
indexinteger
trackingHostTrackingResponse

AttributeFileReadFormatInfo

FieldTypeDescription
iduuid
typestring| null
sizeinteger
uristring| null

OrderRoleOccupantResponseComponentInfo

FieldTypeDescription
procurementResourceIduuid
labelstring| null
typeNamestring| null
filledByResourceNamestring| null

HostTrackingResponseFlagState

FieldTypeDescription
effectiveboolean
isOverriddenboolean

HostTrackingResponseDueDateState

FieldTypeDescription
effectivedate-time| null
isOverriddenboolean