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

Try a lookup list that is not saved.

POST/api/v1/lookup-lists/testlookup_lists:read
注記

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

The Lookup List builder's Test button: runs the virtual view the list would read its values from, as the Portal's builder does, and answers the rows it returns for context, up to limit. Nothing is saved. Needs Test Lookup Lists. A view that is not found is a 422 naming the ID supplied; one the Portal cannot build or run is a 422 with the Portal's message (without the statement). A view with no query returns no rows. The rows are the view's own, whatever their columns: a list also needs a Key and a Value column to be searched.

スコープlookup_lists:read
非同期いいえ
MCP ツールtest_lookup_lists
Portal の権限test_lookup_lists

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonLookupListTestInput

応答​

ステータス説明本文
200Success.application/json LookupListTestRows
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

LookupListTestInput​

フィールド型必須説明
contextobject任意The values the form has captured so far. See the list of values for what each key is.
limitinteger または null任意Rows to return, 100 by default, 1000 at most.
virtual_view_idstring必須The virtual view the list would read its values from.

LookupListTestRows​

フィールド型必須説明
row_countinteger必須Rows in rows. ≥ -2147483648; ≤ 2147483647
rowsobject の配列必須One object per row, keyed by the view's own column names. Dates are text and decimals strings.
total_rowsinteger必須Rows the view returned for the caller; more than row_count when limit cut the answer. ≥ -2147483648; ≤ 2147483647