PUT/eventTypes/{typeId}/effects/{effectId}
Replaces an effect's name, index, root logic, condition groups and outputs; its enabled state is unchanged.
Send each existing output with its id to keep it, since generated records point at that id; an output sent
without one is new. Conditions and outputs take the same shape and rules as
EventTypes_CreateEventTypeEffect. Effect ids come from EventTypes_GetEventTypeEffects. Requires
Event.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 | |
| groups | UpdateEventTypeEffectRequestConditionGroup[] | Optional | |
| outputs | UpdateEventTypeEffectRequestOutput[] | Optional | |
UpdateEventTypeEffectRequestConditionGroup
| Field | Type | Description |
|---|
| logic | string| null | |
| threshold | integer| null | |
| conditions | UpdateEventTypeEffectRequestCondition[]| null | |
UpdateEventTypeEffectRequestOutput
| Field | Type | Description |
|---|
| id | uuid| null | |
| type | string| null | |
| occupantRoleDefinitionId | uuid| null | |
| targetTemplateCollaboratorId | uuid| null | |
| subjectTemplate | string| null | |
| bodyTemplate | string| null | |
| recipients | UpdateEventTypeEffectRequestOutputRecipient[]| null | |
| titleTemplate | string| null | |
| activityIsAllDay | boolean| null | |
| startAttributeId | uuid| null | |
| endAttributeId | uuid| null | |
| descriptionTemplate | string| null | |
| participants | UpdateEventTypeEffectRequestOutputParticipant[]| null | |
| syncWithIntegrations | boolean| null | |
| integrationCalendarId | uuid| null | |
| templateEntityId | uuid| 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 | |
| sourceAttributeId | uuid| null | |
| fillValue | string| null | |
UpdateEventTypeEffectRequestCondition
| Field | Type | Description |
|---|
| sourceKind | string| null | |
| sourceId | uuid| null | |
| sourcePath | string| null | |
| operator | string| null | |
| value | string| null | |
UpdateEventTypeEffectRequestOutputRecipient
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |
| channel | string| null | |
UpdateEventTypeEffectRequestOutputParticipant
| Field | Type | Description |
|---|
| crewId | uuid| null | |
| roleDefinitionId | uuid| null | |