Skip to main content

Check a reply without recording it.

POST/api/v1/action-requests/{action_request_id}/check-responseworkflows:decide

Runs the checks recording the reply would run and records nothing: the request is open and yours, the reply is one of its replies, the comment, the user to pass the request on to, and what the reply needs that the API cannot give.

Scopeworkflows:decide
AsynchronousNo
MCP toolcheck_action_request_response
Portal permissionsperform_workflow_actions

Parameters​

NameInTypeRequiredDescription
action_request_idpathstringRequired
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonActionRequestDecisionInput

Responses​

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

ActionRequestCheck​

FieldTypeRequiredDescription
action_reply_idstringRequired
action_request_idstringRequired
delegate_user_idstring or nullRequired
labelstringRequired
validbooleanRequiredAlways true in the answer: a refusal is a problem, and nothing is recorded.

ActionRequestDecisionInput​

FieldTypeRequiredDescription
acknowledged_warningsarray of stringOptionalThe warning_key of each warning the person has read and accepts.
action_reply_idstringRequiredAn action_reply_id from the request's replies.
commentstring or nullOptionalRequired by replies that ask for one.
delegate_user_idstring or nullOptionalThe user to pass the request on to, for a reply that delegates.