Skip to main content

Pause or resume a document's review schedule.

POST/api/v1/documents/{document_id}/review-schedule/pausereviews:write

paused true pauses the schedule (with an optional reason); false resumes it. 404 when the document has no schedule.

Scopereviews:write
AsynchronousNo
MCP toolpause_document_review_schedule

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonReviewSchedulePauseInput

Responses​

StatusDescriptionBody
200Success.application/json ReviewSchedule
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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_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​

ReviewSchedule​

FieldTypeRequiredDescription
action_request_idstring or nullRequired
auto_applybooleanRequired
date_rollforward_basisstring or nullRequired
date_source_fieldstring or nullRequired
distribution_group_idstring or nullRequired
document_idstringRequired
due_daysinteger or nullRequired
frequency_daysinteger or nullRequired
frequency_hoursinteger or nullRequired
frequency_monthsinteger or nullRequired
lead_daysintegerRequired≥ -2147483648; ≤ 2147483647
next_due_datestring (date) or nullRequired
pausedbooleanRequired
quorum_modestring or nullRequired
review_programme_idstring or nullRequiredThe review programme the schedule runs.
review_schedule_idstringRequired
reviewer_user_idsarray of stringRequired
start_immediatelybooleanRequired
stop_conditionobject or nullRequired
stop_reasonstring or nullRequiredWhy the schedule stopped; null while it runs.
stopped_atstring (date-time) or nullRequiredWhen the schedule stopped (its stop condition was met); null while it runs. A stopped schedule opens no further rounds and is never overdue, whatever its next_due_date. Saving the schedule in the Portal restarts it.
time_of_daystring or nullRequired
workflow_template_idstring or nullRequired

ReviewSchedulePauseInput​

FieldTypeRequiredDescription
pausedbooleanRequired
reasonstring or nullOptional