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.
| Scope | workflow_setup:write |
| Asynchronous | No |
| MCP tool | update_action_reply |
| Portal permissions | edit_workflow_request_definitions |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
action_reply_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | ActionReplyPatchInput |
application/merge-patch+json | ActionReplyPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json ActionReply 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
ActionReply
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string | Required | |
action_request_type_id | string | Required | |
delegation_config | ActionReplyDelegationConfig or null | Required | How a reply that delegates behaves; null when the reply does not delegate. |
document_status | object or null | Required | The document status the reply sets; null for none. |
icon_index | integer | Required | The 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_document | boolean | Required | |
name | string | Required | |
requires_attachment_upload | boolean | Required | |
requires_note | boolean | Required | |
requires_replace_file | boolean | Required | |
requires_signature | boolean | Required | |
requires_valid_custom_fields | boolean | Required | |
return_to_sender | boolean | Required | |
sort_order | integer | Required | ≥ -2147483648; ≤ 2147483647 |
use_workflow_status | boolean | Required |
ActionReplyDelegationConfig
| Field | Type | Required | Description |
|---|---|---|---|
delegated_input | boolean | Required | |
hide_when_delegated | boolean | Required | |
return_when_delegated | boolean | Required |
ActionReplyDelegationConfigPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
delegated_input | boolean or null | Optional | |
hide_when_delegated | boolean or null | Optional | |
return_when_delegated | boolean or null | Optional |
ActionReplyPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string or null | Optional | |
action_request_type_id | string or null | Optional | |
delegation_config | ActionReplyDelegationConfigPatchInput or null | Optional | |
document_status | object or null | Optional | |
icon_index | integer or null | Optional | |
lock_document | boolean or null | Optional | |
name | string or null | Optional | |
requires_attachment_upload | boolean or null | Optional | |
requires_note | boolean or null | Optional | |
requires_replace_file | boolean or null | Optional | |
requires_signature | boolean or null | Optional | |
requires_valid_custom_fields | boolean or null | Optional | |
return_to_sender | boolean or null | Optional | |
sort_order | integer or null | Optional | |
use_workflow_status | boolean or null | Optional |