GET/Orders/{orderId}/versions/{versionId}/version-document
Returns the revision's own document. Kind Template when the revision froze one of the order type's documents: its
content, frozen input values, live inputs, the stored rows of its order-bound blocks, resolved tokens, the inputs
that resolve empty now (missingInputs) and the schema its blocks use. Kind Rfq otherwise, with the revision's payload.
Amounts are hidden from a caller who cannot see order amounts. The version id comes from Orders_GetOrderVersions.
Works the same with an org token on an organization-level order or an event order of the organization's events.
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
| versionId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| kind | string| null | |
| versionNumber | integer | |
| payload | GetOrderVersionDocumentResponseDocumentPayload | |
| missingInputs | string[]| null | |
| name | string| null | |
| content | string| null | |
| filterValues | GetOrderVersionDocumentResponseFilterValue[]| null | |
| liveInputs | GetOrderVersionDocumentResponseLiveInput[]| null | |
| orderBlockResults | GetOrderVersionDocumentResponseBlockResult[]| null | |
| resolvedTokens | object| null | |
GetOrderVersionDocumentResponseDocumentPayload
| Field | Type | Description |
|---|
| orderName | string| null | |
| groups | GetOrderVersionDocumentResponseDocumentPayloadGroup[]| null | |
| lines | GetOrderVersionDocumentResponseDocumentPayloadLine[]| null | |
| expenseLines | GetOrderVersionDocumentResponseDocumentPayloadExpenseLine[]| null | |
| scheduleBlocks | GetOrderVersionDocumentResponseDocumentPayloadBlock[]| null | |
GetOrderVersionDocumentResponseFilterValue
| Field | Type | Description |
|---|
| filterId | uuid | |
| values | string[]| null | |
| Field | Type | Description |
|---|
| filterId | uuid | |
| sourceKind | string| null | |
| hostField | string| null | |
| eventAttributeId | uuid| null | |
| fixedValues | string[]| null | |
GetOrderVersionDocumentResponseBlockResult
| Field | Type | Description |
|---|
| blockId | string| null | |
| format | string| null | |
| columns | GetOrderVersionDocumentResponseBlockColumn[]| null | |
| rows | object[]| null | |
| groups | GetOrderVersionDocumentResponseBlockGroup[]| null | |
| truncated | boolean | |
GetOrderVersionDocumentResponseDocumentPayloadGroup
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| notes | string| null | |
| index | integer | |
GetOrderVersionDocumentResponseDocumentPayloadLine
| Field | Type | Description |
|---|
| id | uuid | |
| needId | uuid | |
| resourceTypeName | string| null | |
| lineItemLabelTemplate | string| null | |
| resourceVariantName | string| null | |
| resourceName | string| null | |
| disposition | string| null | |
| startDateTime | date-time| null | |
| endDateTime | date-time| null | |
| quantity | number | |
| unitAmount | number| null | |
| lineTotal | number| null | |
| ratePeriod | string| null | |
| resolvedRateCardId | uuid| null | |
| fills | GetOrderVersionDocumentResponseDocumentPayloadFill[]| null | |
| groupId | uuid| null | |
| index | integer | |
| showScheduleDetail | boolean | |
| properties | GetOrderVersionDocumentResponseDocumentPayloadProperty[]| null | |
GetOrderVersionDocumentResponseDocumentPayloadExpenseLine
| Field | Type | Description |
|---|
| id | uuid | |
| description | string| null | |
| quantity | number | |
| unitAmount | number| null | |
| lineTotal | number| null | |
| groupId | uuid| null | |
| index | integer | |
GetOrderVersionDocumentResponseDocumentPayloadBlock
| Field | Type | Description |
|---|
| id | uuid | |
| needId | uuid | |
| name | string| null | |
| typeName | string| null | |
| start | date-time | |
| end | date-time | |
| areaName | string| null | |
| collaboratorName | string| null | |
GetOrderVersionDocumentResponseBlockColumn
| Field | Type | Description |
|---|
| alias | string| null | |
| label | string| null | |
| kind | string| null | |
| options | GetOrderVersionDocumentResponseBlockColumnOption[]| null | |
GetOrderVersionDocumentResponseBlockGroup
| Field | Type | Description |
|---|
| key | JsonElement | |
| label | string| null | |
| count | integer | |
GetOrderVersionDocumentResponseDocumentPayloadFill
| Field | Type | Description |
|---|
| reservationId | uuid | |
| resourceName | string| null | |
| quantity | number | |
| rateCardId | uuid| null | |
| unitAmount | number| null | |
| ratePeriod | string| null | |
| total | number| null | |
GetOrderVersionDocumentResponseDocumentPayloadProperty
| Field | Type | Description |
|---|
| resourceAttributeId | uuid | |
| label | string| null | |
| responseType | string| null | |
| value | string| null | |
GetOrderVersionDocumentResponseBlockColumnOption
| Field | Type | Description |
|---|
| id | string| null | |
| label | string| null | |
| color | string| null | |
| icon | string| null | |