メインコンテンツまでスキップ

Find the records that hold values of a List Manager list.

POST/api/v1/list-value-holders/searchlookup_lists:read
注記

このページの操作の説明は、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

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
includequerystring: 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-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonListValueHoldersSearchInput

応答​

ステータス説明本文
200Success.application/json object
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
410cursor_expiredapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsListValueHolder の配列必須
next_cursorstring または null必須
total_countinteger任意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
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ListValueHolder​

フィールド型必須説明
contact_idstring または null必須The contact, for a list whose holders are contacts; null when the organisation's own row holds the value.
document_idstring または null必須The document, for a list whose holders are documents. Read it with get_document.
organisation_idstring または 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_idstring または null必須The project, for a list whose holders are projects.

ListValueHoldersSearchInput​

フィールド型必須説明
liststring必須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.
valuesstring の配列必須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.