Get one custom field template with its fields.
GET/api/v1/custom-field-templates/{custom_field_template_id}custom_fields:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The fields are the field definitions in their saved order.
| スコープ | custom_fields:read |
| 非同期 | いいえ |
| MCP ツール | get_custom_field_template |
| Portal の権限 | view_custom_field_templates |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
custom_field_template_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json CustomFieldTemplate |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
スキーマ
CalculatedFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lookup_list | ListReference または null | 必須 | |
value_type | string または null | 必須 |
ComboFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
choices_list | ListReference | 必須 |
CurrencyFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
currency_symbol | string または null | 必須 | A display-only prefix for the amount (config.currency_symbol); null for none. |
scale | integer または null | 必須 | |
validation | v1NumericValidation | 必須 |
CustomDataLookupFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
source | v1CustomDataSource | 必須 |
CustomFieldReferenceFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
child_custom_field_template_id | string | 必須 |
CustomFieldTemplate
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allows_multiple | boolean | 必須 | |
auto_extracts_on_upload | boolean | 必須 | A document uploaded with this template's document types is extracted automatically. |
column_name_renderer | VirtualViewReference または null | 必須 | A saved query that renders the template's column names (null for none). |
comments | string または null | 必須 | |
custom_field_template_group_id | string または null | 必須 | |
custom_field_template_id | string | 必須 | |
custom_fields | object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object または object の配列 | 必須 | |
display_mode | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
document_type_ids | string の配列 | 必須 | |
graph_config | object または null | 必須 | The template's graph settings (format template_graph_config: the Portal's graph ontology settings for the template, as it stores them); null when none. A write is judged by the Portal's own check. |
is_active | boolean | 必須 | |
limit_view | VirtualViewReference または null | 必須 | A register's limit query: the saved query that lists which of the register's rows a document may link (null for none). |
matches_shared_rows | boolean | 必須 | On a project register, a document's linking also offers the register's shared rows (rows with no project). |
processes_as_image | boolean | 必須 | AI extraction treats each page as an image. |
processes_pages_independently | boolean | 必須 | AI extraction reads each page of a document on its own. |
project_scope | string または null | 必須 | project: the rows of a register belong to the project of the document they are created from; null: the register is shared by every project. Registers only. |
template_name | string または null | 必須 | |
template_type | string | 必須 | Grid, GridLink (a register) or Filter. |
uses_only_extracted_tables | boolean | 必須 | AI extraction uses only the tables it found in the document. |
view_name | string または null | 必須 | The view the template is read through instead of its own storage (an advanced option; null for none). |
DateFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
validation | v1DateValidation | 必須 |
DocumentLinkFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
settings | object または null | 必須 |
EmptyFieldVariant
GridLinkReferenceFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
join | v1GridJoin | 必須 | |
target_custom_field_template_id | string | 必須 |
LinkedColumnFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allows_multiple | boolean | 必須 | |
edit_mode | string | 必須 | |
extraction | v1ExtractionSettings | 必須 | |
graph | object または null | 必須 | |
limit_view | v1LimitView または null | 必須 | |
relation_code | string または null | 必須 | |
target_custom_field_template_id | string | 必須 | |
uses_fuzzy_sort | boolean | 必須 |
ListReference
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lookup_list_id | string または null | 必須 | |
name | string | 必須 |
LookupFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
match | v1LookupMatch | 必須 | |
source_custom_field_template_id | string | 必須 | |
source_key_custom_field_id | string | 必須 | |
source_value_custom_field_id | string | 必須 |
LookupListFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lookup_list | ListReference | 必須 |
LookupListMultiFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lookup_list | ListReference | 必須 | |
validation | v1SelectionValidation | 必須 |
MatrixCalculationFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
axes | v1MatrixAxes | 必須 | |
rows | v1MatrixRowDefinition の配列 | 必須 |
MultiValueFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
choices_list | ListReference | 必須 | |
validation | v1SelectionValidation | 必須 |
NumericFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
scale | integer または null | 必須 | |
validation | v1NumericValidation | 必須 |
SequentialRefFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
sequence_template | string または null | 必須 |
TextFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
validation | v1TextValidation | 必須 |
VirtualFieldLookupFieldVariant
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
virtual_custom_field_id | string | 必須 |
VirtualViewReference
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
virtual_view_id | string | 必須 |
v1CustomDataSQL
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
sql | string または null | 必須 |
v1CustomDataSource
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
lookup_list | ListReference または null | 必須 | For lookup_list: the list by ID and name. lookup_list_id is null for a legacy list, which is kept by its name. |
sql | v1CustomDataSQL または null | 必須 | |
type | string | 必須 | lookup_list or sql. |
v1CustomFieldRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field_id | string | 必須 |
v1DateValidation
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
max_date | string または null | 必須 | |
max_date_offset_days | integer または null | 必須 | |
message | string または null | 必須 | The message shown in place of the default when a rule fails. |
min_date | string または null | 必須 | |
min_date_offset_days | integer または null | 必須 | |
no_future | boolean または null | 必須 | |
no_past | boolean または null | 必須 | |
required | boolean または null | 必須 | Reject an empty or blank value (a validation rule, apart from is_required). |
v1DocumentFieldRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
document_field_id | string | 必須 |
v1ExtractionSettings
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
is_enabled | boolean | 必須 | |
prompt | string | 必須 | |
runs_on_extraction | boolean | 必須 |
v1FieldTextLimit
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
encoding | string | 必須 | |
max_length | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
unit | string | 必須 |
v1GridJoin
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
columns | object または null | 必須 | |
type | string | 必須 |
v1GridJoinPair
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
source | v1CustomFieldRef または null | 必須 | |
target | v1CustomFieldRef または null | 必須 |
v1LimitView
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
virtual_view_id | string | 必須 |
v1LookupMatch
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
custom_field | v1CustomFieldRef または null | 必須 | |
document_field | v1DocumentFieldRef または null | 必須 | |
type | string | 必須 |
v1MatrixAxes
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
axis_a | v1CustomFieldRef | 必須 | |
axis_b | v1CustomFieldRef | 必須 |
v1MatrixRowDefinition
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
a_condition | string | 必須 | |
a_operator | string | 必須 | |
b_condition | string | 必須 | |
b_operator | string | 必須 | |
colour | string | 必須 | |
value | string | 必須 |
v1NumericValidation
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
allow_negative | boolean または null | 必須 | |
allow_zero | boolean または null | 必須 | |
decimal_places | integer または null | 必須 | |
integer_only | boolean または null | 必須 | |
max | string または null | 必須 | |
message | string または null | 必須 | The message shown in place of the default when a rule fails. |
min | string または null | 必須 | |
required | boolean または null | 必須 | Reject an empty or blank value (a validation rule, apart from is_required). |
step | string または null | 必須 |
v1Refetch
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
mode | string | 必須 | |
on_custom_field_ids | v1CustomFieldRef の配列 | 必須 |
v1SelectionValidation
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
max_selections | integer または null | 必須 | |
message | string または null | 必須 | The message shown in place of the default when a rule fails. |
min_selections | integer または null | 必須 | |
required | boolean または null | 必須 | Reject an empty or blank value (a validation rule, apart from is_required). |
v1TextValidation
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
max_length | integer または null | 必須 | |
message | string または null | 必須 | The message shown in place of the default when a rule fails. |
min_length | integer または null | 必須 | |
pattern | string または null | 必須 | |
pattern_flags | string または null | 必須 | |
pattern_preset | string または null | 必須 | |
required | boolean または null | 必須 | Reject an empty or blank value (a validation rule, apart from is_required). |
trim | boolean または null | 必須 |