GET/activity-types/{typeId}
Gets one activity type with its sections, attribute and role placements and effects. typeId comes from ActivityTypes_GetActivityTypes.
Needs Activity.View at the organization.
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 | |
| 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 | |
GetActivityTypeResponseOptionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| label | string| null | |
| isArchived | boolean | |
| type | string| null | |
| value | string| null | |
| color | string| null | |
| icon | string| null | |
HostDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
HostDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
HostReviewRouteInfo
| Field | Type | Description |
|---|
| stages | HostReviewRouteInfoStage[]| null | |
GetHostTypeEffectResponseConditionInfo
| Field | Type | Description |
|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| operator | string| null | |
| value | string| null | |
| name | string| null | |
| status | string| null | |
GetHostTypeEffectResponseOutputInfoRecipientInfo
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| name | string| null | |
| channel | string| null | |