Change a reply you recorded.
PATCH/api/v1/annotations/{annotation_id}/actions-taken/{action_taken_id}annotations:write
Only the reviewer who recorded a reply changes it, and only while they can still see its annotation. Only the fields sent change.
| Scope | annotations:write |
| Asynchronous | No |
| MCP tool | update_annotation_action_taken |
| Portal permissions | edit_annotation_action_taken |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
annotation_id | path | string | Required | |
action_taken_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | ActionTakenPatchInput |
application/merge-patch+json | ActionTakenPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json ActionTaken or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ActionTaken
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string | Required | The reply option given, one of that type's replies. |
action_request_type_id | string | Required | The action request type the document was opened for (list_action_request_types). |
action_taken_id | string | Required | |
annotation_id | string | Required | |
created_by | UserRef | Required | |
created_date | string or null | Required | |
modified_by | UserRef or null | Required | Who last changed the reply; null while it is as first recorded. |
modified_date | string or null | Required | |
workflow_id | string or null | Required | The workflow the reply belongs to; null when it was given outside one. |
ActionTakenPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string or null | Optional | |
action_request_type_id | string or null | Optional | |
action_taken_id | string or null | Optional | |
annotation_id | string or null | Optional | |
created_by | UserRefInput or null | Optional | |
created_date | string or null | Optional | |
modified_by | UserRefInput or null | Optional | |
modified_date | string or null | Optional | |
workflow_id | string or null | Optional | null takes the reply out of its workflow. |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |
UserRefInput
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Optional | |
kind | string: user, system, integration | Optional | |
user_id | string or null | Optional |