GET/Orders/{orderId}/versions/{versionId}
Returns one revision with the frozen snapshot of the order it captured (name,
groups, resource lines, expense lines, schedule blocks). On a revision created with person rates each resource line
carries its per-period unitAmount with ratePeriod, the single resolvedRateCardId when every unit priced from one card,
and fills (each person's rate and total); one created before has a null ratePeriod and card and no fills, and its
unitAmount is the per-unit planned cost. A pure read: downloading it changes no state. Recording
that it was sent is the separate Orders_MarkOrderVersionSent. The version id comes from Orders_GetOrderVersions.
Works the same on an organization-level order (org token, resource inventory read or edit), and on an event order
of the organization's events (org token, order view).
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
| versionId | uuid | Required | |
Response
| Field | Type | Description |
|---|
| id | uuid | |
| number | integer | |
| status | string| null | |
| declaredStatus | string| null | |
| createdAt | date-time | |
| createdByUserId | uuid| null | |
| sentAt | date-time| null | |
| sentByUserId | uuid| null | |
| firstSentAt | date-time| null | |
| documentCount | integer | |
| confirmations | GetOrderVersionResponseConfirmationEntry[]| null | |
| version | GetOrderVersionResponsePayload | |
GetOrderVersionResponseConfirmationEntry
| Field | Type | Description |
|---|
| confirmedAt | date-time | |
| byName | string| null | |
| source | string| null | |
| note | string| null | |
| unconfirmedAt | date-time| null | |
| unconfirmedByName | string| null | |
GetOrderVersionResponsePayload
| Field | Type | Description |
|---|
| orderName | string| null | |
| groups | GetOrderVersionResponsePayloadGroup[]| null | |
| lines | GetOrderVersionResponsePayloadLine[]| null | |
| expenseLines | GetOrderVersionResponsePayloadExpenseLine[]| null | |
| scheduleBlocks | GetOrderVersionResponsePayloadBlock[]| null | |
GetOrderVersionResponsePayloadGroup
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| notes | string| null | |
| index | integer | |
GetOrderVersionResponsePayloadLine
| 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 | GetOrderVersionResponsePayloadFill[]| null | |
| groupId | uuid| null | |
| index | integer | |
| showScheduleDetail | boolean | |
| properties | GetOrderVersionResponsePayloadProperty[]| null | |
GetOrderVersionResponsePayloadExpenseLine
| Field | Type | Description |
|---|
| id | uuid | |
| description | string| null | |
| quantity | number | |
| unitAmount | number| null | |
| lineTotal | number| null | |
| groupId | uuid| null | |
| index | integer | |
GetOrderVersionResponsePayloadBlock
| 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 | |
GetOrderVersionResponsePayloadFill
| Field | Type | Description |
|---|
| reservationId | uuid | |
| resourceName | string| null | |
| quantity | number | |
| rateCardId | uuid| null | |
| unitAmount | number| null | |
| ratePeriod | string| null | |
| total | number| null | |
GetOrderVersionResponsePayloadProperty
| Field | Type | Description |
|---|
| resourceAttributeId | uuid | |
| label | string| null | |
| responseType | string| null | |
| value | string| null | |