GET/crew/types/{typeId}
Gets one of the event organization's crew types with its ordered sections and the attributes placed in each, with their required, crew-visible and
crew-editable flags. typeId comes from Crew_GetCrewTypes. Needs Crew.View at the event or on a collaborator.
Organization crew (an organization token and an organization crew type id): Returns one crew type with its sections in order and each section's attributes: the definition and options, and whether the attribute is required, visible to the crew member and editable by them. typeId comes from Crew_GetCrewTypes. Needs Crew.View at the organization (event tokens: Crew.View at the event or on a collaborator).
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 | |
| intakeFormId | uuid| null | |
| orgTemplateId | uuid| null | |
| attachmentTemplateId | uuid| null | |
| sections | GetCrewTypeResponseSectionInfo[]| null | |
| effects | GetHostTypeEffectResponse[]| null | |
GetCrewTypeResponseSectionInfo
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| index | integer | |
| zone | string| null | |
| tabName | string| null | |
| attributes | GetCrewTypeResponseAttributeAssignmentInfo[]| null | |
| roles | GetCrewTypeResponseRoleAssignmentInfo[]| 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 | |
GetCrewTypeResponseAttributeAssignmentInfo
| Field | Type | Description |
|---|
| crewAttributeId | uuid | |
| name | string| null | |
| fieldClassId | uuid| null | |
| type | string| null | |
| useCases | string[]| null | |
| options | GetCrewTypeResponseOptionInfo[]| null | |
| isRequired | boolean | |
| folderMode | string| null | |
| folderPath | string| null | |
| showOnCreateForm | boolean | |
| isCrewVisible | boolean | |
| isCrewEditable | boolean | |
| isTaskTracked | boolean | |
| trackedLockedReason | string| null | |
| isTaskReviewRequired | boolean | |
| dueDateRule | HostDueDateRuleInfo| null | |
| defaultAssignee | HostDefaultAssigneeInfo| null | |
| reviewRoute | HostReviewRouteInfo| null | |
| index | integer | |
| displayMode | string| null | |
GetCrewTypeResponseRoleAssignmentInfo
| Field | Type | Description |
|---|
| isCrewVisible | boolean | |
| isCrewEditable | 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 | |
GetCrewTypeResponseOptionInfo
| 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 | |