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

List or search the values of a lookup list.

POST/api/v1/lookup-lists/{lookup_list_id}/values/searchlookup_lists:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The values the list offers a form, as the Portal loads and searches them: the rows of the list's virtual view, run by the Portal's query builder with the caller's own document and register security, with context as the view's runtime inputs. Without query every value is listed (the Portal's load); with one, only the rows whose key or label contains it, ignoring case. Values are ordered by label, then by the view's other columns, and paged by offset: the cursor holds how many were read, so a page is a snapshot of the view as it was then. A view that has no query, or cannot be built from the context (an input it needs is missing), has no values, as in the Portal's forms: run test_lookup_lists to see why. A view that returns no Key or Value column, or a label that cannot be sorted, is a 422 in the Portal's words. A lookup list that does not exist is 404. Needs View Lookup Lists.

スコープlookup_lists:read
非同期いいえ
MCP ツールsearch_lookup_list_values
Portal の権限view_lookup_lists
ページングsnapshot
既定の並び順label

パラメーター​

名前場所型必須説明
lookup_list_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonLookupListValuesSearchInput

応答​

ステータス説明本文
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
404not_foundapplication/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 の本文​

フィールド型必須説明
itemsLookupListValue の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

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

スキーマ​

LookupListValue​

フィールド型必須説明
columnsobject必須Every column the view returned for the row by the view's own column name, Key and Value included. Dates are text and decimals strings.
keystring または null必須The row's Key column as text: what a field stores.
labelstring または null必須The row's Value column as text: what a form shows.

LookupListValuesSearchInput​

フィールド型必須説明
contextobject任意The values the form has captured so far. See the list of values for what each key is.
querystring または null任意Keep the values whose key or label contains this text, ignoring case. Without it every value is listed.