Skip to main content

Resolve stored keys of a lookup list to their labels.

POST/api/v1/lookup-lists/{lookup_list_id}/values/resolvelookup_lists:read

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.

Scopelookup_lists:read
AsynchronousNo
MCP toolresolve_lookup_list_values
Portal permissionsview_lookup_lists

Parameters​

NameInTypeRequiredDescription
lookup_list_idpathstringRequired
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonLookupListValuesResolveInput

Responses​

StatusDescriptionBody
200Success.application/json LookupListValueSet
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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

LookupListValue​

FieldTypeRequiredDescription
columnsobjectRequiredEvery 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 or nullRequiredThe row's Key column as text: what a field stores.
labelstring or nullRequiredThe row's Value column as text: what a form shows.

LookupListValueSet​

FieldTypeRequiredDescription
missing_keysarray of stringRequiredThe keys sent that the list has no row for, each once.
valuesarray of LookupListValueRequiredThe rows found, in the order the keys were sent.

LookupListValuesResolveInput​

FieldTypeRequiredDescription
contextobjectOptionalThe values the form has captured so far. See the list of values for what each key is.
keysarray of stringRequiredThe stored keys to resolve, compared as text. A blank key matches nothing and is not reported missing.