Resolve who may receive an action request or distribution for given documents, projects or workflow items.
POST/api/v1/eligible-recipients/resolveusers:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
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.
| スコープ | users:read |
| 非同期 | いいえ |
| MCP ツール | resolve_eligible_recipients |
| Portal の権限 | view_users |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | EligibleRecipientsQueryInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json EligibleRecipients |
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 |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | 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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
EligibleProject
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
name | string または null | 必須 | The project number as stored; the Portal warns "does not belong to Project X" with it. |
project_id | string | 必須 |
EligibleRecipients
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
projects | EligibleProject の配列 | 必須 | The projects the documents, workflow items and projects given resolved to. |
users | UserRef の配列 | 必須 | The users who may receive the request, by display name, in user order. |
EligibleRecipientsQueryInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
document_ids | string の配列 | 任意 | Documents the recipients would act on; you must be able to read every one. |
project_ids | string の配列 | 任意 | Projects the recipients must belong to. |
workflow_item_ids | string の配列 | 任意 | Workflow items whose documents are used. |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |