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

See the value a sequential reference field takes next.

GET/api/v1/custom-fields/{custom_field_id}/next-sequential-referencecustom_fields:read
注記

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

Needs View Sequential Counters, as the Portal's preview does. What the Portal's form shows before a row is added: the highest value stored in the field's column plus one, formatted by the field's sequence template. Nothing is reserved or changed, so a row added meanwhile may take the value. 404 for a field that is not a sequential reference.

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

パラメーター​

名前場所型必須説明
custom_field_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json NextSequentialReference
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
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 のコードです。各コードからそのページに移動できます。

スキーマ​

NextSequentialReference​

フィールド型必須説明
custom_field_idstring必須
sequence_templatestring必須The format the value follows: a prefix, a $SEQ<n>$ counter and a suffix.
valuestring必須The value a row added now takes: the highest stored value plus one, formatted by the field's sequence_template. Nothing is reserved.