Docs
Get Task Types
GET /organizations/{orgId}/task-types
GET
/organizations/{orgId}/task-typesLists the organization's two built-in task types (Org task, Event task) with their sections and the task attributes placed in each, with each placement's required and show-on-create-form flags. Org tasks are Org task; every event task is Event task. With an event token it returns only the Event task type. Takes an organization token for orgId, or an event token for an event of orgId; any other org is a 403.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetTaskTypesResponse[]
GetTaskTypesResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| kind | string| null | |
| name | string| null | |
| sections | GetTaskTypesResponseSection[]| null |
GetTaskTypesResponseSection
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| placements | GetTaskTypesResponsePlacement[]| null |
GetTaskTypesResponsePlacement
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| taskAttributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isRequired | boolean | |
| showOnCreateForm | boolean | |
| isArchived | boolean | |
| displayMode | string| null | |
| index | integer | |
| options | GetTaskAttributesResponseOption[]| null | |
| availability | GetTaskAttributesResponseAvailabilityInfo |