GET/order-types/{typeId}
Reads one order type: sections, attribute placements, intake form and templates. typeId comes 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
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| index | integer | |
| intakeFormId | uuid| null | |
| orgTemplateId | uuid| null | |
| attachmentTemplateId | uuid| null | |
| sections | GetOrderTypeResponseSectionInfo[]| null | |
GetOrderTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| attributes | GetOrderTypeResponseAttributeAssignmentInfo[]| null | |
| roles | GetOrderTypeResponseRoleAssignmentInfo[]| null | |
GetOrderTypeResponseAttributeAssignmentInfo
| Field | Type | Description |
|---|
| orderAttributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| options | GetOrderTypeResponseOptionInfo[]| null | |
| isRequired | boolean | |
| folderMode | string| null | |
| folderPath | string| null | |
| showOnCreateForm | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isMaterial | boolean | |
| isTaskTracked | boolean | |
| trackedLockedReason | string| null | |
| isTaskReviewRequired | boolean | |
| dueDateRule | HostDueDateRuleInfo| null | |
| defaultAssignee | HostDefaultAssigneeInfo| null | |
| reviewRoute | HostReviewRouteInfo| null | |
| index | integer | |
| displayMode | string| null | |
GetOrderTypeResponseRoleAssignmentInfo
| Field | Type | Description |
|---|
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isMaterial | boolean | |
| fillFromEventRoleDefinitionId | uuid| null | |
| requiresProcurement | boolean | |
| resourceTypes | OrderRoleResourceTypeResponse[]| null | |
| roleDefinitionId | uuid | |
| name | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| useCases | string[]| null | |
| isArchived | boolean | |
| defaultIsRequired | boolean | |
| defaultIsTaskTracked | boolean | |
| isTaskReviewRequired | boolean | |
| showOnCreateForm | boolean | |
| dueDateRule | HostDueDateRuleInfo| null | |
| defaultAssignee | HostDefaultAssigneeInfo| null | |
| reviewRoute | HostReviewRouteInfo| null | |
| index | integer | |
GetOrderTypeResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| isArchived | boolean | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
HostDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
HostDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
HostReviewRouteInfo
| Field | Type | Description |
|---|
| stages | HostReviewRouteInfoStage[]| null | |
OrderRoleResourceTypeResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |