GET/organizations/{orgId}/activity-type-options
Lists the activity types this calendar offers, with sections, attribute and role placements, attribute definitions
(kind, options) and role definitions. Event token: types offered on Event and allowed by the event type's Activity
allowlist; org token: types offered on Org. typeIds adds those types even when not offered or archived
(isOffered: false), so a held type still renders; ids of another organization are ignored. Attributes in a field
class the caller can't View are left out. Accepts an org token for orgId or an event token whose event belongs to
orgId; any other token is refused. Needs basic access to the event (org: Activity.View).
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| typeIds | uuid[] | Optional | |
Response
| Field | Type | Description |
|---|
| types | GetActivityTypeOptionsResponseTypeItem[]| null | |
| attributes | GetActivityTypeOptionsResponseAttributeItem[]| null | |
| roleDefinitions | GetActivityRoleDefinitionResponse[]| null | |
GetActivityTypeOptionsResponseTypeItem
| 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 | |
| isOffered | boolean | |
| sections | GetActivityTypeResponseSectionInfo[]| null | |
GetActivityTypeOptionsResponseAttributeItem
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| isArchived | boolean | |
| hasExpiration | boolean | |
| options | GetActivityTypeOptionsResponseOptionInfo[]| null | |
| availability | GetActivityTypeOptionsResponseAvailabilityInfo | |
GetActivityRoleDefinitionResponse
| Field | Type | Description |
|---|
| requiredCount | integer| null | |
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| fillerKind | string| null | |
| cardinality | string| null | |
| isArchived | boolean | |
| useCases | string[]| null | |
| availability | GetHostRoleDefinitionResponseAvailabilityInfo| null | |
GetActivityTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| tabName | string| null | |
| attributes | GetActivityTypeResponseAttributeAssignmentInfo[]| null | |
| roles | HostTypeRoleAssignmentInfo[]| null | |
GetActivityTypeOptionsResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| isArchived | boolean | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
GetActivityTypeOptionsResponseAvailabilityInfo
| Field | Type | Description |
|---|
| recordIds | uuid[]| null | |
GetHostRoleDefinitionResponseAvailabilityInfo
| Field | Type | Description |
|---|
| recordIds | uuid[]| 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 | |