Docs
Get Order Types
GET /organizations/{orgId}/order-types
GET
/organizations/{orgId}/order-typesLists the organization's order types in order, archived ones included, each with its sidebar sections and attribute placements (required, on create form, the vendor's visible/editable pair, material, tracking, display mode), intakeFormId and templates. Takes an organization token with Order.View, or an event token of an event in the organization (the order create dialog's type picker).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetOrderTypeResponse[]
GetOrderTypeResponse
| 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 |