Docs

Get Order Versions

GET /Orders/{orderId}/versions

GET/Orders/{orderId}/versions

Lists the order's revisions, newest first, with number, status, declared status (Draft, Sent or Confirmed), who created and sent each, when it was sent and first sent, how many documents priced it, and its confirmations in order (an undone one stays, with who undid it and when). The snapshot itself is not included; use Orders_GetOrderVersion. 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

FieldTypeRequiredDescription
orderIduuidRequired

Response

Type: GetOrderVersionResponse[]

GetOrderVersionResponse

FieldTypeDescription
iduuid
numberinteger
statusstring| null
declaredStatusstring| null
createdAtdate-time
createdByUserIduuid| null
sentAtdate-time| null
sentByUserIduuid| null
firstSentAtdate-time| null
documentCountinteger
confirmationsGetOrderVersionResponseConfirmationEntry[]| null
versionGetOrderVersionResponsePayload

GetOrderVersionResponseConfirmationEntry

FieldTypeDescription
confirmedAtdate-time
byNamestring| null
sourcestring| null
notestring| null
unconfirmedAtdate-time| null
unconfirmedByNamestring| null

GetOrderVersionResponsePayload

FieldTypeDescription
orderNamestring| null
groupsGetOrderVersionResponsePayloadGroup[]| null
linesGetOrderVersionResponsePayloadLine[]| null
expenseLinesGetOrderVersionResponsePayloadExpenseLine[]| null
scheduleBlocksGetOrderVersionResponsePayloadBlock[]| null

GetOrderVersionResponsePayloadGroup

FieldTypeDescription
iduuid
namestring| null
notesstring| null
indexinteger

GetOrderVersionResponsePayloadLine

FieldTypeDescription
iduuid
needIduuid
resourceTypeNamestring| null
lineItemLabelTemplatestring| null
resourceVariantNamestring| null
resourceNamestring| null
dispositionstring| null
startDateTimedate-time| null
endDateTimedate-time| null
quantitynumber
unitAmountnumber| null
lineTotalnumber| null
ratePeriodstring| null
resolvedRateCardIduuid| null
fillsGetOrderVersionResponsePayloadFill[]| null
groupIduuid| null
indexinteger
showScheduleDetailboolean
propertiesGetOrderVersionResponsePayloadProperty[]| null

GetOrderVersionResponsePayloadExpenseLine

FieldTypeDescription
iduuid
descriptionstring| null
quantitynumber
unitAmountnumber| null
lineTotalnumber| null
groupIduuid| null
indexinteger

GetOrderVersionResponsePayloadBlock

FieldTypeDescription
iduuid
needIduuid
namestring| null
typeNamestring| null
startdate-time
enddate-time
areaNamestring| null
collaboratorNamestring| null