Docs

Assign Crew Type Section Attribute

POST /crew/types/{typeId}/sections/{sectionId}/attributes

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

FieldTypeRequiredDescription
typeIduuidRequired
sectionIduuidRequired

Request Body

FieldTypeRequiredDescription
crewAttributeIduuidOptional
isRequiredbooleanOptional
showOnCreateFormbooleanOptional
isCrewVisiblebooleanOptional
isCrewEditablebooleanOptional
indexintegerOptional
isTaskTrackedbooleanOptional
isTaskReviewRequiredbooleanOptional
dueDateRuleAssignCrewTypeSectionAttributeRequestDueDateRuleInfoOptional
defaultAssigneeAssignCrewTypeSectionAttributeRequestDefaultAssigneeInfoOptional
reviewRouteAssignCrewTypeSectionAttributeRequestReviewRouteInfoOptional
displayModestringOptional
folderModestringOptional
folderPathstringOptional

AssignCrewTypeSectionAttributeRequestDueDateRuleInfo

FieldTypeDescription
kindstring| null
datedate-time| null
sourceAttributeIduuid| null
offsetinteger| null
unitstring| null

AssignCrewTypeSectionAttributeRequestDefaultAssigneeInfo

FieldTypeDescription
kindstring| null
orgCrewIduuid| null
roleDefinitionIduuid| null

AssignCrewTypeSectionAttributeRequestReviewRouteInfo

FieldTypeDescription
stagesAssignCrewTypeSectionAttributeRequestReviewRouteInfoStage[]| null

AssignCrewTypeSectionAttributeRequestReviewRouteInfoStage

FieldTypeDescription
iduuid| null
namestring| null
kindstring| null
groupsAssignCrewTypeSectionAttributeRequestReviewRouteInfoGroup[]| null

AssignCrewTypeSectionAttributeRequestReviewRouteInfoGroup

FieldTypeDescription
logicstring| null
thresholdinteger| null
membersAssignCrewTypeSectionAttributeRequestReviewRouteInfoMember[]| null