Resolve stored keys of a lookup list to their labels.
POST/api/v1/lookup-lists/{lookup_list_id}/values/resolvelookup_lists:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The list's rows for the given keys, compared as text, in the order the keys were sent, with the keys that matched nothing in missing_keys: how a grid shows stored keys as labels without loading the list. It runs the list's view as search_lookup_list_values does, so the same context, security and refusals apply. A key may be sent more than once; a blank key matches nothing and is not reported missing. Needs View Lookup Lists.
| スコープ | lookup_lists:read |
| 非同期 | いいえ |
| MCP ツール | resolve_lookup_list_values |
| Portal の権限 | view_lookup_lists |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
lookup_list_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | LookupListValuesResolveInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json LookupListValueSet |
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 |
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 のコードです。各コードからそのページに移動できます。
スキーマ
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. |
LookupListValueSet
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
missing_keys | string の配列 | 必須 | The keys sent that the list has no row for, each once. |
values | LookupListValue の配列 | 必須 | The rows found, in the order the keys were sent. |
LookupListValuesResolveInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
context | object | 任意 | The values the form has captured so far. See the list of values for what each key is. |
keys | string の配列 | 必須 | The stored keys to resolve, compared as text. A blank key matches nothing and is not reported missing. |