Docs

Update Crew Type Effect

PUT /crew/types/{typeId}/effects/{effectId}

PUT/crew/types/{typeId}/effects/{effectId}

Organization crew (an organization token and an organization crew type id): Replaces an effect's name, index, root logic, runsAt, condition groups and outputs; its enabled state is unchanged. Send each kept output with its id; an output without one is new. Same rules as Crew_CreateCrewTypeEffect. Needs Crew.Configure at the organization.

Path Parameters

FieldTypeRequiredDescription
typeIduuidRequired
effectIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
indexintegerOptional
rootLogicstringOptional
runsAtstringOptional
groupsUpdateCrewTypeEffectRequestConditionGroup[]Optional
outputsUpdateCrewTypeEffectRequestOutput[]Optional

UpdateCrewTypeEffectRequestConditionGroup

FieldTypeDescription
logicstring| null
thresholdinteger| null
conditionsUpdateCrewTypeEffectRequestCondition[]| null

UpdateCrewTypeEffectRequestOutput

FieldTypeDescription
iduuid| null
typestring| null
subjectTemplatestring| null
bodyTemplatestring| null
recipientsUpdateCrewTypeEffectRequestOutputRecipient[]| null
roleDefinitionIduuid| null
targetAttributeIduuid| null
requiredboolean| null
isRequiredboolean| null
isTaskTrackedboolean| null
isTaskReviewRequiredboolean| null
fillSourcestring| null
sourceQuestionIduuid| null
sourceRoleDefinitionIduuid| null
fillValuestring| null

UpdateCrewTypeEffectRequestCondition

FieldTypeDescription
sourceKindstring| null
sourceIduuid| null
sourcePathstring| null
operatorstring| null
valuestring| null

UpdateCrewTypeEffectRequestOutputRecipient

FieldTypeDescription
crewIduuid| null
roleDefinitionIduuid| null
channelstring| null