Skip to main content

Update an action reply (JSON Merge Patch).

PATCH/api/v1/action-replies/{action_reply_id}workflow_setup:write

Only the members sent change; delegation_config members merge one by one, and null clears it. If-Match is honoured.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolupdate_action_reply
Portal permissionsedit_workflow_request_definitions

Parameters​

NameInTypeRequiredDescription
action_reply_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json ActionReply 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​

ActionReply​

FieldTypeRequiredDescription
action_reply_idstringRequired
action_request_type_idstringRequired
delegation_configActionReplyDelegationConfig or nullRequiredHow a reply that delegates behaves; null when the reply does not delegate.
document_statusobject or nullRequiredThe document status the reply sets; null for none.
icon_indexintegerRequiredThe reply's icon: its position in the Portal's reply icon picker (the Inbox shows it on the reply button); 0 for none. ≥ -2147483648; ≤ 2147483647
lock_documentbooleanRequired
namestringRequired
requires_attachment_uploadbooleanRequired
requires_notebooleanRequired
requires_replace_filebooleanRequired
requires_signaturebooleanRequired
requires_valid_custom_fieldsbooleanRequired
return_to_senderbooleanRequired
sort_orderintegerRequired≥ -2147483648; ≤ 2147483647
use_workflow_statusbooleanRequired

ActionReplyDelegationConfig​

FieldTypeRequiredDescription
delegated_inputbooleanRequired
hide_when_delegatedbooleanRequired
return_when_delegatedbooleanRequired

ActionReplyDelegationConfigPatchInput​

FieldTypeRequiredDescription
delegated_inputboolean or nullOptional
hide_when_delegatedboolean or nullOptional
return_when_delegatedboolean or nullOptional

ActionReplyPatchInput​

FieldTypeRequiredDescription
action_reply_idstring or nullOptional
action_request_type_idstring or nullOptional
delegation_configActionReplyDelegationConfigPatchInput or nullOptional
document_statusobject or nullOptional
icon_indexinteger or nullOptional
lock_documentboolean or nullOptional
namestring or nullOptional
requires_attachment_uploadboolean or nullOptional
requires_noteboolean or nullOptional
requires_replace_fileboolean or nullOptional
requires_signatureboolean or nullOptional
requires_valid_custom_fieldsboolean or nullOptional
return_to_senderboolean or nullOptional
sort_orderinteger or nullOptional
use_workflow_statusboolean or nullOptional