Docs
Get Order Type Documents
GET /order-types/{typeId}/documents
GET
/order-types/{typeId}/documentsLists the order type's documents in order, with each one's template, input mappings and any required input the template now lacks a mapping for. typeId from OrderTypes_GetOrderTypes. Takes an organization token with Order.View, or an event token of an event in the type's organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| typeId | uuid | Required |
Response
Type: GetOrderTypeDocumentResponse[]
GetOrderTypeDocumentResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| documentTemplateId | uuid | |
| templateName | string| null | |
| inputs | GetOrderTypeDocumentResponseInput[]| null | |
| unmappedInputs | string[]| null |
GetOrderTypeDocumentResponseInput
| Field | Type | Description |
|---|---|---|
| filterId | uuid | |
| sourceKind | string| null | |
| hostField | string| null | |
| eventAttributeId | uuid| null | |
| fixedValues | string[]| null |