Update one mutation effect.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Put, RequestUri = new Uri("https://example.com/api/workspace/admin/entity-mutation-effects/example"), Content = new StringContent("{ \"TargetFieldId\": \"example\", \"SourcePath\": \"example\", \"TriggerFieldIds\": [ \"example\" ], \"ApplyOnMode\": 0, \"AssignmentMode\": 0, \"SortOrder\": 1, \"IsEnabled\": true, \"RowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"ApplyWhen\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/entity-mutation-effects/example';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"TargetFieldId":"example","SourcePath":"example","TriggerFieldIds":["example"],"ApplyOnMode":0,"AssignmentMode":0,"SortOrder":1,"IsEnabled":true,"RowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","ApplyWhen":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/workspace/admin/entity-mutation-effects/example \ --header 'Content-Type: application/json' \ --data '{ "TargetFieldId": "example", "SourcePath": "example", "TriggerFieldIds": [ "example" ], "ApplyOnMode": 0, "AssignmentMode": 0, "SortOrder": 1, "IsEnabled": true, "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "ApplyWhen": "example" }'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Request payload to update an entity mutation effect.
object
Optional typed condition that must evaluate to true before the effect may apply.
Blank or null means always. The condition may use primary fields, one scalar reference hop,
and Operation.Mode; its root fields become additional triggers.
Request payload to update an entity mutation effect.
object
Optional typed condition that must evaluate to true before the effect may apply.
Blank or null means always. The condition may use primary fields, one scalar reference hop,
and Operation.Mode; its root fields become additional triggers.
Request payload to update an entity mutation effect.
object
Optional typed condition that must evaluate to true before the effect may apply.
Blank or null means always. The condition may use primary fields, one scalar reference hop,
and Operation.Mode; its root fields become additional triggers.
Responses
Section titled “Responses”OK
object
Editable metadata for one mutation effect.
object
Mutation effect identifier.
Owning entity definition identifier.
Identifier of the field the effect writes to.
Key of the field the effect writes to.
Display name of the field the effect writes to.
Source value path copied into the target field when the effect fires.
Identifiers of the fields whose changes trigger the effect.
Keys of the fields whose changes trigger the effect.
Execution order among the entity’s mutation effects.
Whether the effect is active.
Concurrency token.
Optional typed condition controlling whether the effect contributes a value. Null means always; false conditions can select a later fallback or clear an effect-owned target.
object
object
object
object
Example
{ "Data": { "ApplyOnMode": 0, "AssignmentMode": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Editable metadata for one mutation effect.
object
Mutation effect identifier.
Owning entity definition identifier.
Identifier of the field the effect writes to.
Key of the field the effect writes to.
Display name of the field the effect writes to.
Source value path copied into the target field when the effect fires.
Identifiers of the fields whose changes trigger the effect.
Keys of the fields whose changes trigger the effect.
Execution order among the entity’s mutation effects.
Whether the effect is active.
Concurrency token.
Optional typed condition controlling whether the effect contributes a value. Null means always; false conditions can select a later fallback or clear an effect-owned target.
object
object
object
object
Example
{ "Data": { "ApplyOnMode": 0, "AssignmentMode": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Editable metadata for one mutation effect.
object
Mutation effect identifier.
Owning entity definition identifier.
Identifier of the field the effect writes to.
Key of the field the effect writes to.
Display name of the field the effect writes to.
Source value path copied into the target field when the effect fires.
Identifiers of the fields whose changes trigger the effect.
Keys of the fields whose changes trigger the effect.
Execution order among the entity’s mutation effects.
Whether the effect is active.
Concurrency token.
Optional typed condition controlling whether the effect contributes a value. Null means always; false conditions can select a later fallback or clear an effect-owned target.
object
object
object
object
Example
{ "Data": { "ApplyOnMode": 0, "AssignmentMode": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
Editable metadata for one mutation effect.
object
Mutation effect identifier.
Owning entity definition identifier.
Identifier of the field the effect writes to.
Key of the field the effect writes to.
Display name of the field the effect writes to.
Source value path copied into the target field when the effect fires.
Identifiers of the fields whose changes trigger the effect.
Keys of the fields whose changes trigger the effect.
Execution order among the entity’s mutation effects.
Whether the effect is active.
Concurrency token.
Optional typed condition controlling whether the effect contributes a value. Null means always; false conditions can select a later fallback or clear an effect-owned target.
object
object
object
object
Example
{ "Data": { "ApplyOnMode": 0, "AssignmentMode": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}