Docs

Query Order Version Document

POST /Orders/{orderId}/versions/{versionId}/version-document/query/{blockId}

POST/Orders/{orderId}/versions/{versionId}/version-document/query/{blockId}

Runs one data block of a revision's document, bound to the inputs the revision stored and its live inputs as they are now. A block bound to the order returns the rows stored at Create. versionId comes from Orders_GetOrderVersions; blockId from the document's content. Not found when the revision has no document or the block is not on it.

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired
versionIduuidRequired
blockIdstringRequired

Response

FieldTypeDescription
blockIdstring| null
formatstring| null
columnsExecuteOrderVersionDocumentQueryResponseColumn[]| null
rowsobject[]| null
groupsExecuteOrderVersionDocumentQueryResponseGroup[]| null
truncatedboolean

ExecuteOrderVersionDocumentQueryResponseColumn

FieldTypeDescription
aliasstring| null
labelstring| null
kindstring| null
optionsExecuteOrderVersionDocumentQueryResponseColumnOption[]| null

ExecuteOrderVersionDocumentQueryResponseGroup

FieldTypeDescription
keyJsonElement
labelstring| null
countinteger

ExecuteOrderVersionDocumentQueryResponseColumnOption

FieldTypeDescription
idstring| null
labelstring| null
colorstring| null
iconstring| null