Skip to main content

Resolve a stored choice to its label.

POST/api/v1/custom-field-templates/{custom_field_template_id}/choices/resolvecustom_fields:read

For a values list the key is the choice text itself; for the built-in contacts list it is the contact's ID and the label is the organisation (and contact). found is false when the list has no such key. A query-backed list is refused, not run.

Scopecustom_fields:read
AsynchronousNo
MCP toolresolve_custom_field_template_choices
Portal permissionsresolve_lookup_list_values

Parameters​

NameInTypeRequiredDescription
custom_field_template_idpathstringRequired
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonChoiceResolveBodyInput

Responses​

StatusDescriptionBody
200Success.application/json ChoiceResolution
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​

ChoiceResolution​

FieldTypeRequiredDescription
custom_field_idstringRequired
foundbooleanRequired
keystringRequired
labelstring or nullRequired

ChoiceResolveBodyInput​

FieldTypeRequiredDescription
custom_field_idstringRequired
keystringRequired