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
| Field | Type | Required | Description |
|---|
| typeId | uuid | Required | |
| effectId | uuid | Required | |
Request Body
| Field | Type | Required | Description |
|---|
| name | string | Optional | |
| index | integer | Optional | |
| rootLogic | string | Optional | |
| runsAt | string | Optional | |
| groups | UpdateCrewTypeEffectRequestConditionGroup[] | Optional | |
| outputs | UpdateCrewTypeEffectRequestOutput[] | Optional | |
UpdateCrewTypeEffectRequestConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| conditions | UpdateCrewTypeEffectRequestCondition[]| null | |
UpdateCrewTypeEffectRequestOutput
| Field | Type | Description |
|---|
| id | uuid| null | |
| type | string| null | |
| subjectTemplate | string| null | |
| bodyTemplate | string| null | |
| recipients | UpdateCrewTypeEffectRequestOutputRecipient[]| 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 | |
UpdateCrewTypeEffectRequestCondition
| Field | Type | Description |
|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| operator | string| null | |
| value | string| null | |
UpdateCrewTypeEffectRequestOutputRecipient
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| channel | string| null | |