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

Run a query definition that is not saved (the query builder's Test).

POST/api/v1/virtual-views/executeanalytics:read
注記

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

Runs the definition sent (format query_builder, body {json_logic, builder_config, context}) as the caller, optionally on a foreign data connection, and returns an execution table; nothing is saved. A definition the engine cannot run is 422 carrying the engine's message. Needs Test Virtual Views, as the Portal's Test button does.

スコープanalytics:read
非同期いいえ
MCP ツールexecute_virtual_views
Portal の権限test_virtual_views
ページングsnapshot
既定の並び順plan order + unique key where the plan has one

パラメーター​

名前場所型必須説明
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonVirtualViewTestRunInput

応答​

ステータス説明本文
200Success.application/json object
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
410cursor_expiredapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
columnsobject の配列必須
next_cursorstring または null必須
rowsany の配列 の配列必須
warningsobject の配列必須

エラー​

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

スキーマ​

VirtualViewTestRunInput​

フィールド型必須説明
contextany任意Values for the inputs the query asks for, keyed by input name, as a JSON object.
definitionobject必須The query to run, as a saved view's definition: format query_builder, body {json_logic, builder_config, context}. Nothing is saved.
foreign_data_connection_idstring または null任意Run the query on this foreign data connection instead of the Docwize database.