Patch instance.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Patch, RequestUri = new Uri("https://example.com/api/workspace/entity/example/instances/example"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"OperationKey\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"EntityDefinitionKey\": \"example\", \"EntityInstanceId\": \"example\", \"Patch\": { \"additionalProperty\": \"example\" }, \"RowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\" }") { 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/entity/example/instances/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"OperationKey":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","EntityDefinitionKey":"example","EntityInstanceId":"example","Patch":{"additionalProperty":"example"},"RowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/api/workspace/entity/example/instances/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "EntityInstanceId": "example", "Patch": { "additionalProperty": "example" }, "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'PATCH uses tri-state field semantics: omitted keys are undefined and remain unchanged, explicit null clears a field,
and any other value replaces the stored value. Undefined fields do not pass through required validation.
Unauthorized field inputs are skipped and returned as warnings.
A readable final state returns Data.Kind = "AuthorizedEntityDetail". If the write commits but
the final state is not readable, Data.Kind = "Receipt" carries OperationKey,
CompletedAt, caller-known EntityDefinitionId and EntityInstanceId,
AuditCorrelationId, IsIdempotentReplay, Success, and CanViewResult.
The safe receipt contains neither the new row version nor record values.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Entity definition identifier or normalized entity key.
Entity instance identifier.
Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Bodyrequired
Section titled “Request Bodyrequired”Partial mutation payload.
Updates stored field values of one Entity record through the governed application pipeline.
object
Caller-generated UUID that identifies one logical update and must be reused only for an exact retry.
Entity definition identifier or normalized key; it must match the route.
Target Entity record identifier; it must match the route.
Changed field values keyed by stable field key; fields that are left out keep their stored values.
object
Current row version of the record expected by the caller.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "EntityInstanceId": "example", "Patch": { "additionalProperty": "example" }, "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Updates stored field values of one Entity record through the governed application pipeline.
object
Caller-generated UUID that identifies one logical update and must be reused only for an exact retry.
Entity definition identifier or normalized key; it must match the route.
Target Entity record identifier; it must match the route.
Changed field values keyed by stable field key; fields that are left out keep their stored values.
object
Current row version of the record expected by the caller.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "EntityInstanceId": "example", "Patch": { "additionalProperty": "example" }, "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Updates stored field values of one Entity record through the governed application pipeline.
object
Caller-generated UUID that identifies one logical update and must be reused only for an exact retry.
Entity definition identifier or normalized key; it must match the route.
Target Entity record identifier; it must match the route.
Changed field values keyed by stable field key; fields that are left out keep their stored values.
object
Current row version of the record expected by the caller.
Examplegenerated
{ "OperationKey": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "EntityDefinitionKey": "example", "EntityInstanceId": "example", "Patch": { "additionalProperty": "example" }, "RowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “Responses”OK
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Not Found
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Service Unavailable
object
Authorized post-mutation Entity detail.
object
object
object
Whether the host returned an earlier durable result without another write.
Receipt of a committed Entity record mutation whose post-state the caller cannot read now.
object
Operation key of the committed operation.
Completion instant of the committed operation. A receipt built when a replay can no longer show its stored result carries the instant the replayed command committed.
Audit correlation of the committed operation. A receipt built when a replay can no longer show its stored result carries the correlation of the replaying call instead.
Whether this answer repeats an earlier committed operation without another write.
Entity record identity carried by a receipt: only values the caller already knew.
object
Entity definition identifier.
Entity record identifier.
Responsibility key a bulk assignment or removal item sent; left out for record mutations.
object
object
object
object
Example
{ "Data": { "Kind": "AuthorizedEntityDetail" }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}