PUT/area-types/{typeId}/effects/{effectId}
Replaces an effect; send each kept output with its id. Needs Area.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 | UpdateAreaTypeEffectRequestConditionGroup[] | Optional | |
| outputs | UpdateAreaTypeEffectRequestOutput[] | Optional | |
UpdateAreaTypeEffectRequestConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| conditions | UpdateAreaTypeEffectRequestCondition[]| null | |
UpdateAreaTypeEffectRequestOutput
| Field | Type | Description |
|---|
| id | uuid| null | |
| type | string| null | |
| subjectTemplate | string| null | |
| bodyTemplate | string| null | |
| recipients | UpdateAreaTypeEffectRequestOutputRecipient[]| 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 | |
UpdateAreaTypeEffectRequestCondition
| Field | Type | Description |
|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| operator | string| null | |
| value | string| null | |
UpdateAreaTypeEffectRequestOutputRecipient
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| channel | string| null | |