GET/organizations/{orgId}/area-types
Lists the organization's area types in order, archived ones included, each with its sections (zone, index), attribute and role placements,
intakeFormId and effectsCount. Read one type's effects with OrgAreas_GetAreaType. Uses an organization token; needs Collaborator.View at the organization.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Response
Type: GetAreaTypeResponse[]
GetAreaTypeResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| icon | string| null | |
| color | string| null | |
| isArchived | boolean | |
| index | integer | |
| intakeFormId | uuid| null | |
| orgTemplateId | uuid| null | |
| attachmentTemplateId | uuid| null | |
| effectsCount | integer | |
| sections | GetAreaTypeResponseSectionInfo[]| null | |
| effects | GetHostTypeEffectResponse[]| null | |
GetAreaTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| tabName | string| null | |
| attributes | GetAreaTypeResponseAttributeAssignmentInfo[]| null | |
| roles | GetAreaTypeResponseRoleAssignmentInfo[]| 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 | |
GetAreaTypeResponseAttributeAssignmentInfo
| Field | Type | Description |
|---|
| areaAttributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| useCases | string[]| null | |
| options | GetAreaTypeResponseOptionInfo[]| null | |
| isRequired | boolean | |
| folderMode | string| null | |
| folderPath | string| null | |
| showOnCreateForm | boolean | |
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| isTaskTracked | boolean | |
| trackedLockedReason | string| null | |
| isTaskReviewRequired | boolean | |
| dueDateRule | HostDueDateRuleInfo| null | |
| defaultAssignee | HostDefaultAssigneeInfo| null | |
| reviewRoute | HostReviewRouteInfo| null | |
| index | integer | |
| displayMode | string| null | |
GetAreaTypeResponseRoleAssignmentInfo
| Field | Type | Description |
|---|
| isCollaboratorVisible | boolean | |
| isCollaboratorEditable | boolean | |
| 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 | |