Docs

Get Activity Type Options

GET /organizations/{orgId}/activity-type-options

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

FieldTypeRequiredDescription
orgIduuidRequired

Query Parameters

FieldTypeRequiredDescription
typeIdsuuid[]Optional

Response

FieldTypeDescription
typesGetActivityTypeOptionsResponseTypeItem[]| null
attributesGetActivityTypeOptionsResponseAttributeItem[]| null
roleDefinitionsGetActivityRoleDefinitionResponse[]| null

GetActivityTypeOptionsResponseTypeItem

FieldTypeDescription
iduuid
namestring| null
iconstring| null
colorstring| null
isArchivedboolean
indexinteger
offeredOnstring[]| null
intakeFormIduuid| null
creationTemplateIduuid| null
isOfferedboolean
sectionsGetActivityTypeResponseSectionInfo[]| null

GetActivityTypeOptionsResponseAttributeItem

FieldTypeDescription
iduuid
namestring| null
fieldClassIduuid| null
typestring| null
isArchivedboolean
hasExpirationboolean
optionsGetActivityTypeOptionsResponseOptionInfo[]| null
availabilityGetActivityTypeOptionsResponseAvailabilityInfo

GetActivityRoleDefinitionResponse

FieldTypeDescription
requiredCountinteger| null
iduuid
namestring| null
iconstring| null
colorstring| null
fillerKindstring| null
cardinalitystring| null
isArchivedboolean
useCasesstring[]| null
availabilityGetHostRoleDefinitionResponseAvailabilityInfo| null

GetActivityTypeResponseSectionInfo

FieldTypeDescription
iduuid
namestring| null
indexinteger
zonestring| null
tabNamestring| null
attributesGetActivityTypeResponseAttributeAssignmentInfo[]| null
rolesHostTypeRoleAssignmentInfo[]| null

GetActivityTypeOptionsResponseOptionInfo

FieldTypeDescription
iduuid
labelstring| null
isArchivedboolean
typestring| null
valuestring| null
colorstring| null
iconstring| null

GetActivityTypeOptionsResponseAvailabilityInfo

FieldTypeDescription
recordIdsuuid[]| null

GetHostRoleDefinitionResponseAvailabilityInfo

FieldTypeDescription
recordIdsuuid[]| null

GetActivityTypeResponseAttributeAssignmentInfo

FieldTypeDescription
activityAttributeIduuid
namestring| null
fieldClassIduuid| null
typestring| null
optionsGetActivityTypeResponseOptionInfo[]| null
isRequiredboolean
folderModestring| null
folderPathstring| null
showOnCreateFormboolean
isTaskTrackedboolean
trackedLockedReasonstring| null
isTaskReviewRequiredboolean
dueDateRuleHostDueDateRuleInfo
defaultAssigneeHostDefaultAssigneeInfo
reviewRouteHostReviewRouteInfo
indexinteger
displayModestring| null

HostTypeRoleAssignmentInfo

FieldTypeDescription
roleDefinitionIduuid
namestring| null
fillerKindstring| null
cardinalitystring| null
useCasesstring[]| null
isArchivedboolean
defaultIsRequiredboolean
defaultIsTaskTrackedboolean
isTaskReviewRequiredboolean
showOnCreateFormboolean
dueDateRuleHostDueDateRuleInfo| null
defaultAssigneeHostDefaultAssigneeInfo| null
reviewRouteHostReviewRouteInfo| null
indexinteger