GET/organizations/{orgId}/activity-types
Lists the organization's activity types in order, each with its sections, attribute and role placements, offeredOn, intakeFormId,
creationTemplateId and effectsCount. includeArchived adds archived types; offeredOn (Org or Event) narrows to types offered on that calendar.
Read one type's effects with ActivityTypes_GetActivityType. Uses an organization token; needs Activity.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| includeArchived | boolean | Optional | |
| offeredOn | string | Optional | |
Response
Type: GetActivityTypeResponse[]
GetActivityTypeResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| index | integer | |
| offeredOn | string[]| null | |
| intakeFormId | uuid| null | |
| creationTemplateId | uuid| null | |
| effectsCount | integer | |
| sections | GetActivityTypeResponseSectionInfo[]| null | |
| effects | GetHostTypeEffectResponse[]| null | |
GetActivityTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| tabName | string| null | |
| attributes | GetActivityTypeResponseAttributeAssignmentInfo[]| null | |
| roles | HostTypeRoleAssignmentInfo[]| null | |
GetHostTypeEffectResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| rootLogic | string| null | |
| runsAt | string| null | |
| isEnabled | boolean | |
| isBroken | boolean | |
| conditions | GetHostTypeEffectResponseConditionGroupInfo[]| null | |
| outputs | GetHostTypeEffectResponseOutputInfo[]| null | |
GetActivityTypeResponseAttributeAssignmentInfo
| Field | Type | Description |
|---|
| activityAttributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| options | GetActivityTypeResponseOptionInfo[]| null | |
| isRequired | boolean | |
| folderMode | string| null | |
| folderPath | string| null | |
| showOnCreateForm | boolean | |
| isTaskTracked | boolean | |
| trackedLockedReason | string| null | |
| isTaskReviewRequired | boolean | |
| dueDateRule | HostDueDateRuleInfo | |
| defaultAssignee | HostDefaultAssigneeInfo | |
| reviewRoute | HostReviewRouteInfo | |
| index | integer | |
| displayMode | string| null | |
HostTypeRoleAssignmentInfo
| Field | Type | Description |
|---|
| 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 | |
GetHostTypeEffectResponseConditionGroupInfo
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| conditions | GetHostTypeEffectResponseConditionInfo[]| null | |
GetHostTypeEffectResponseOutputInfo
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| displayName | string| null | |
| subjectTemplate | string| null | |
| bodyTemplate | string| null | |
| recipients | GetHostTypeEffectResponseOutputInfoRecipientInfo[]| null | |
| roleDefinitionId | uuid| null | |
| targetAttributeId | uuid| null | |
| required | boolean| null | |
| isRequired | boolean| null | |
| isTaskTracked | boolean| null | |
| isTaskReviewRequired | boolean| null | |
| fillSource | string| null | |
| sourceQuestionId | uuid| null | |
| sourceRoleDefinitionId | uuid| null | |
| fillValue | string| null | |