POST/crew/types/{typeId}/sections/{sectionId}/attributes
Organization crew (an organization token and an organization crew type id): Places a library attribute in a crew type section, with whether it is required, visible to the crew member and editable by them, and its position. crewAttributeId comes from OrgCrew_GetCrewAttributes and must not be archived, and an attribute already in the section is refused. sectionId comes from Crew_GetCrewType. Send isTaskTracked to also set its tracking (isTaskReviewRequired, dueDateRule, defaultAssignee, validated as on the update), so a move to another section keeps it. Needs Crew.Configure at the organization.
showOnCreateForm says whether the org create dialog asks this attribute (default false). displayMode is how the record page shows the value: one of the attribute kind's modes, or null for the kind's default; an illegal mode is a 400 naming the legal ones.
reviewRoute replaces the placement's default review route (role definitions and org crew); null clears it.
Path Parameters
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
| sectionId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| crewAttributeId | uuid | Optional | |
| isRequired | boolean | Optional | |
| showOnCreateForm | boolean | Optional | |
| isCrewVisible | boolean | Optional | |
| isCrewEditable | boolean | Optional | |
| index | integer | Optional | |
| isTaskTracked | boolean | Optional | |
| isTaskReviewRequired | boolean | Optional | |
| dueDateRule | AssignCrewTypeSectionAttributeRequestDueDateRuleInfo | Optional | |
| defaultAssignee | AssignCrewTypeSectionAttributeRequestDefaultAssigneeInfo | Optional | |
| reviewRoute | AssignCrewTypeSectionAttributeRequestReviewRouteInfo | Optional | |
| displayMode | string | Optional | |
| folderMode | string | Optional | |
| folderPath | string | Optional | |
AssignCrewTypeSectionAttributeRequestDueDateRuleInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| date | date-time| null | |
| sourceAttributeId | uuid| null | |
| offset | integer| null | |
| unit | string| null | |
AssignCrewTypeSectionAttributeRequestDefaultAssigneeInfo
| Field | Type | Description |
|---|
| kind | string| null | |
| orgCrewId | uuid| null | |
| roleDefinitionId | uuid| null | |
AssignCrewTypeSectionAttributeRequestReviewRouteInfo
| Field | Type | Description |
|---|
| stages | AssignCrewTypeSectionAttributeRequestReviewRouteInfoStage[]| null | |
AssignCrewTypeSectionAttributeRequestReviewRouteInfoStage
| Field | Type | Description |
|---|
| id | uuid| null | |
| name | string| null | |
| kind | string| null | |
| groups | AssignCrewTypeSectionAttributeRequestReviewRouteInfoGroup[]| null | |
AssignCrewTypeSectionAttributeRequestReviewRouteInfoGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| members | AssignCrewTypeSectionAttributeRequestReviewRouteInfoMember[]| null | |