Skip to main content

Resolve who may receive an action request or distribution for given documents, projects or workflow items.

POST/api/v1/eligible-recipients/resolveusers:read

Workflow items resolve to their documents and documents to their project; a user is eligible when they belong to every project in scope (a user, a group expanded to its members, or an explicit everyone row). With no project in scope every active user is eligible; a project with no members makes nobody eligible. Give at least one of document_ids, project_ids and workflow_item_ids (422 otherwise; over 1000 documents is 422 too). Needs View Users, and View Workflow Details when workflow_item_ids are given. 403 when you cannot read one of the documents. Read-only.

Scopeusers:read
AsynchronousNo
MCP toolresolve_eligible_recipients
Portal permissionsview_users

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonEligibleRecipientsQueryInput

Responses​

StatusDescriptionBody
200Success.application/json EligibleRecipients
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/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​

EligibleProject​

FieldTypeRequiredDescription
namestring or nullRequiredThe project number as stored; the Portal warns "does not belong to Project X" with it.
project_idstringRequired

EligibleRecipients​

FieldTypeRequiredDescription
projectsarray of EligibleProjectRequiredThe projects the documents, workflow items and projects given resolved to.
usersarray of UserRefRequiredThe users who may receive the request, by display name, in user order.

EligibleRecipientsQueryInput​

FieldTypeRequiredDescription
document_idsarray of stringOptionalDocuments the recipients would act on; you must be able to read every one.
project_idsarray of stringOptionalProjects the recipients must belong to.
workflow_item_idsarray of stringOptionalWorkflow items whose documents are used.

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired