Skip to main content

Get a document's review schedule.

GET/api/v1/documents/{document_id}/review-schedulereviews:read

The document's own schedule. 404 when the document has none. Needs read access to the document.

Scopereviews:read
AsynchronousNo
MCP toolget_document_review_schedule
Portal permissionsview_document_review_schedules

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json ReviewSchedule
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
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​

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