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

Evaluate a virtual custom field, for a document.

POST/api/v1/virtual-custom-fields/{virtual_custom_field_id}/executeregisters:read
注記

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

Answers the rows the saved field shows on a document, as the document's Custom Fields tab does: the joined registers, cut to the rows the caller may read, filtered by the document's own values. Without document_id a field that filters by document values returns no rows. The document must be one the caller may read. Needs View Virtual Custom Fields.

スコープregisters:read
非同期いいえ
MCP ツールexecute_virtual_custom_field
Portal の権限view_virtual_custom_fields

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonVirtualCustomFieldExecuteInput

応答​

ステータス説明本文
200Success.application/json VirtualCustomFieldRows
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 のコードです。各コードからそのページに移動できます。

スキーマ​

VirtualCustomFieldExecuteInput​

フィールド型必須説明
document_idstring または null任意The document the field is shown on: its values fill the field's document filters. You must be able to read it. Without one, a field that filters by document values returns no rows.
limitinteger または null任意Rows to return, 100 by default, 1000 at most.

VirtualCustomFieldRows​

フィールド型必須説明
row_countinteger必須Rows in rows. ≥ -2147483648; ≤ 2147483647
rowsobject の配列必須One object per row, keyed by the names the config gives the columns (new_name of its rename_mapping) and, for a column it does not rename, by the custom field's name (register name - field name when two columns share a name). Dates are text, decimals strings.
total_rowsinteger必須Rows the field produced for the caller; more than row_count when limit cut the answer. ≥ -2147483648; ≤ 2147483647