Find the records that hold values of a List Manager list.
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The List Manager's find by value: the documents, contacts or projects that hold any of the values sent (list and values, both required), by their IDs in ascending order. Documents are found through the caller's document security and projects through the caller's project access, as the Portal's find does; contacts have no per-record security. The Portal reads every holder to answer, so a value held by very many documents is slow. Each item sets the member of its kind: document_id, or organisation_id with contact_id (null when the organisation's own row holds the value), or project_id. Read a record with get_document, list_contacts (filter by organisation_id) or get_project. include=total_count adds the number of records you can read, which list_list_value_usage counts the same way. Needs the same permissions as list_list_value_usage for the list.
| スコープ | lookup_lists:read |
| 非同期 | いいえ |
| MCP ツール | search_list_value_holders |
| ページング | snapshot |
| 既定の並び順 | document_id, organisation_id, contact_id, project_id |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
include | query | string: total_count の配列 | 任意 | total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted. |
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | ListValueHoldersSearchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
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 |
410 | cursor_expired | 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 | invalid_cursor, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | ListValueHolder の配列 | 必須 | |
next_cursor | string または null | 必須 | |
total_count | integer | 任意 | total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted. ≥ 0; ≤ 2147483647 |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
ListValueHolder
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
contact_id | string または null | 必須 | The contact, for a list whose holders are contacts; null when the organisation's own row holds the value. |
document_id | string または null | 必須 | The document, for a list whose holders are documents. Read it with get_document. |
organisation_id | string または null | 必須 | The organisation, for a list whose holders are contacts: the one the contact belongs to, or the organisation itself when contact_id is null. |
project_id | string または null | 必須 | The project, for a list whose holders are projects. |
ListValueHoldersSearchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
list | string | 必須 | The list: document_prefix, document_type, document_status, post_review_status, cross_reference_reason, contact, contact_designation, business_type, contact_category, contact_category_status, country, project_type or project_status. |
values | string の配列 | 必須 | The values to find the holders of, written as list_list_value_usage shows them: a record is found when it holds any of them. A document_prefix is matched as the start of the document number; a document_type without a sub type finds every document of the type, sub types included; project values ignore case. |