Docs

Update Crew Type Section Attribute

PUT /crew/types/{typeId}/sections/{sectionId}/attributes/{crewAttributeId}

PUT/crew/types/{typeId}/sections/{sectionId}/attributes/{crewAttributeId}

Organization crew (an organization token and an organization crew type id): Changes a placed attribute's required, crew-visible and crew-editable flags and moves it to index within the section; all four are replaced. Send isTaskTracked to also replace its tracking: isTaskReviewRequired, a due date rule (Relative must read a Date or DateTime attribute on this type) and a default assignee (an org crew member or a role on this type); leave it out to keep tracking as it is. The ids come from Crew_GetCrewType. Needs Crew.Configure at the organization. showOnCreateForm says whether the org create dialog asks this attribute. displayMode is how the record page shows the value: one of the attribute kind's modes, replaced on every call, 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
crewAttributeIduuidRequired

Request Body

FieldTypeRequiredDescription
isRequiredbooleanOptional
showOnCreateFormbooleanOptional
isCrewVisiblebooleanOptional
isCrewEditablebooleanOptional
indexintegerOptional
isTaskTrackedbooleanOptional
isTaskReviewRequiredbooleanOptional
dueDateRuleUpdateCrewTypeSectionAttributeRequestDueDateRuleInfoOptional
defaultAssigneeUpdateCrewTypeSectionAttributeRequestDefaultAssigneeInfoOptional
reviewRouteUpdateCrewTypeSectionAttributeRequestReviewRouteInfoOptional
displayModestringOptional
folderModestringOptional
folderPathstringOptional

UpdateCrewTypeSectionAttributeRequestDueDateRuleInfo

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

UpdateCrewTypeSectionAttributeRequestDefaultAssigneeInfo

FieldTypeDescription
kindstring| null
orgCrewIduuid| null
roleDefinitionIduuid| null

UpdateCrewTypeSectionAttributeRequestReviewRouteInfo

FieldTypeDescription
stagesUpdateCrewTypeSectionAttributeRequestReviewRouteInfoStage[]| null

UpdateCrewTypeSectionAttributeRequestReviewRouteInfoStage

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

UpdateCrewTypeSectionAttributeRequestReviewRouteInfoGroup

FieldTypeDescription
logicstring| null
thresholdinteger| null
membersUpdateCrewTypeSectionAttributeRequestReviewRouteInfoMember[]| null