GET/eventTypes/{typeId}
Returns one event type in full, which is what the Type Editor opens: its sections, the attribute and role
placements with their flags, due date rules and default assignees, and its intake form, base template and
template input mappings. Find the id with EventTypes_GetEventTypes. Requires organization admin.
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 | |
| intakeFormId | uuid| null | |
| baseTemplateId | uuid| null | |
| requireIntakeToEnter | boolean | |
| sections | GetEventTypeResponseSectionInfo[]| null | |
| templateInputMappings | GetEventTypeResponseTemplateInputMappingInfo[]| null | |
GetEventTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| attributes | GetEventTypeResponseAssignmentInfo[]| null | |
| roles | GetEventTypeResponseRoleAssignmentInfo[]| null | |
| Field | Type | Description |
|---|
| templateInputId | uuid | |
| sourceKind | string| null | |
| attributeId | uuid| null | |
| roleDefinitionId | uuid| null | |
GetEventTypeResponseAssignmentInfo
| Field | Type | Description |
|---|
| attributeId | uuid | |
| name | string| null | |
| type | string| null | |
| isRequired | boolean | |
| isTaskTracked | boolean | |
| isTaskReviewRequired | boolean | |
| dueDateRule | GetEventTypeResponseDueDateRuleInfo | |
| defaultAssignee | GetEventTypeResponseDefaultAssigneeInfo | |
| index | integer | |
GetEventTypeResponseRoleAssignmentInfo
| Field | Type | Description |
|---|
| roleDefinitionId | uuid | |
| name | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| availability | GetEventTypeResponseAvailabilityInfo | |
| defaultIsRequired | boolean | |
| defaultIsTaskTracked | boolean | |
| isTaskReviewRequired | boolean | |
| dueDateRule | GetEventTypeResponseDueDateRuleInfo | |
| defaultAssignee | GetEventTypeResponseDefaultAssigneeInfo | |
| index | integer | |
GetEventTypeResponseDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
GetEventTypeResponseDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| targetTemplateCollaboratorId | uuid| null | |
| grantedPermissions | string[]| null | |
GetEventTypeResponseAvailabilityInfo
| Field | Type | Description |
|---|
| recordIds | uuid[]| null | |