Skip to main content

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.

Scopeannotations:write
AsynchronousNo
MCP toolupdate_annotation_action_taken
Portal permissionsedit_annotation_action_taken

Parameters​

NameInTypeRequiredDescription
annotation_idpathstringRequired
action_taken_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonActionTakenPatchInput
application/merge-patch+jsonActionTakenPatchInput

Responses​

StatusDescriptionBody
200Success.application/json ActionTaken or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ActionTaken​

FieldTypeRequiredDescription
action_reply_idstringRequiredThe reply option given, one of that type's replies.
action_request_type_idstringRequiredThe action request type the document was opened for (list_action_request_types).
action_taken_idstringRequired
annotation_idstringRequired
created_byUserRefRequired
created_datestring or nullRequired
modified_byUserRef or nullRequiredWho last changed the reply; null while it is as first recorded.
modified_datestring or nullRequired
workflow_idstring or nullRequiredThe workflow the reply belongs to; null when it was given outside one.

ActionTakenPatchInput​

FieldTypeRequiredDescription
action_reply_idstring or nullOptional
action_request_type_idstring or nullOptional
action_taken_idstring or nullOptional
annotation_idstring or nullOptional
created_byUserRefInput or nullOptional
created_datestring or nullOptional
modified_byUserRefInput or nullOptional
modified_datestring or nullOptional
workflow_idstring or nullOptionalnull takes the reply out of its workflow.

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

UserRefInput​

FieldTypeRequiredDescription
display_namestringOptional
kindstring: user, system, integrationOptional
user_idstring or nullOptional