List or search the values of a lookup list.
このページの操作の説明は、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_id | path | string | 必須 | |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | LookupListValuesSearchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
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 |
404 | not_found | 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 | LookupListValue の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
LookupListValue
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
columns | object | 必須 | 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. |
key | string または null | 必須 | The row's Key column as text: what a field stores. |
label | string または null | 必須 | The row's Value column as text: what a form shows. |
LookupListValuesSearchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
context | object | 任意 | The values the form has captured so far. See the list of values for what each key is. |
query | string または null | 任意 | Keep the values whose key or label contains this text, ignoring case. Without it every value is listed. |