GET/Orders/{orderId}/render
Renders one of the order type's documents against the order as it is now, with no revision number. For downloading a
document other than the revision's. Every data block is rendered; inputs that resolve empty are listed in missingInputs.
orderTypeDocumentId comes from Orders_GetOrder typeDocuments. Event orders only.
Path Parameters
| Field | Type | Required | Description |
|---|
| orderId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| orderTypeDocumentId | uuid | Optional | |
Response
| Field | Type | Description |
|---|
| name | string| null | |
| content | string| null | |
| filterValues | GetOrderTypeDocumentRenderResponseFilterValue[]| null | |
| blockResults | GetOrderTypeDocumentRenderResponseOrderTypeDocumentBlockResult[]| null | |
| resolvedTokens | object| null | |
| missingInputs | string[]| null | |
GetOrderTypeDocumentRenderResponseFilterValue
| Field | Type | Description |
|---|
| filterId | uuid | |
| values | string[]| null | |
GetOrderTypeDocumentRenderResponseOrderTypeDocumentBlockResult
| Field | Type | Description |
|---|
| blockId | string| null | |
| format | string| null | |
| columns | GetOrderTypeDocumentRenderResponseColumn[]| null | |
| rows | object[]| null | |
| groups | GetOrderTypeDocumentRenderResponseGroup[]| null | |
| truncated | boolean | |
GetOrderTypeDocumentRenderResponseColumn
| Field | Type | Description |
|---|
| alias | string| null | |
| label | string| null | |
| kind | string| null | |
| options | GetOrderTypeDocumentRenderResponseColumnOption[]| null | |
GetOrderTypeDocumentRenderResponseGroup
| Field | Type | Description |
|---|
| key | JsonElement | |
| label | string| null | |
| count | integer | |
GetOrderTypeDocumentRenderResponseColumnOption
| Field | Type | Description |
|---|
| id | string| null | |
| label | string| null | |
| color | string| null | |
| icon | string| null | |