メインコンテンツまでスキップ

Resolve a stored choice to its label.

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

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

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.

スコープcustom_fields:read
非同期いいえ
MCP ツールresolve_custom_field_template_choices
Portal の権限resolve_lookup_list_values

パラメーター​

名前場所型必須説明
custom_field_template_idpathstring必須
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonChoiceResolveBodyInput

応答​

ステータス説明本文
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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ChoiceResolution​

フィールド型必須説明
custom_field_idstring必須
foundboolean必須
keystring必須
labelstring または null必須

ChoiceResolveBodyInput​

フィールド型必須説明
custom_field_idstring必須
keystring必須