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
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
| versionId | uuid | Required | |
| blockId | string | Required | |
Response
| Field | Type | Description |
|---|
| blockId | string| null | |
| format | string| null | |
| columns | ExecuteOrderVersionDocumentQueryResponseColumn[]| null | |
| rows | object[]| null | |
| groups | ExecuteOrderVersionDocumentQueryResponseGroup[]| null | |
| truncated | boolean | |
ExecuteOrderVersionDocumentQueryResponseColumn
| Field | Type | Description |
|---|
| alias | string| null | |
| label | string| null | |
| kind | string| null | |
| options | ExecuteOrderVersionDocumentQueryResponseColumnOption[]| null | |
ExecuteOrderVersionDocumentQueryResponseGroup
| Field | Type | Description |
|---|
| key | JsonElement | |
| label | string| null | |
| count | integer | |
ExecuteOrderVersionDocumentQueryResponseColumnOption
| Field | Type | Description |
|---|
| id | string| null | |
| label | string| null | |
| color | string| null | |
| icon | string| null | |