Resolve stored keys of a lookup list to their labels.
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.
| |
|---|
| Scope | lookup_lists:read |
| Asynchronous | No |
| MCP tool | resolve_lookup_list_values |
| Portal permissions | view_lookup_lists |
Parameters
| Name | In | Type | Required | Description |
|---|
lookup_list_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
LookupListValue
| Field | Type | Required | Description |
|---|
columns | object | Required | 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 or null | Required | The row's Key column as text: what a field stores. |
label | string or null | Required | The row's Value column as text: what a form shows. |
LookupListValueSet
| Field | Type | Required | Description |
|---|
missing_keys | array of string | Required | The keys sent that the list has no row for, each once. |
values | array of LookupListValue | Required | The rows found, in the order the keys were sent. |
| Field | Type | Required | Description |
|---|
context | object | Optional | The values the form has captured so far. See the list of values for what each key is. |
keys | array of string | Required | The stored keys to resolve, compared as text. A blank key matches nothing and is not reported missing. |