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

Update a record template (JSON Merge Patch).

PATCH/api/v1/record-templates/{record_template_id}records:write
注記

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

Needs Edit Records. New source references require the source read capability and current access. group_ids replaces the grants and requires Manage Record Group Access.

スコープrecords:write
非同期いいえ
MCP ツールupdate_record_template
Portal の権限edit_records

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonRecordTemplatePatchInput
application/merge-patch+jsonRecordTemplatePatchInput

応答​

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

スキーマ​

RecordTemplate​

フィールド型必須説明
created_atstring (date-time) または null必須
created_byUserRef または null必須
display_namestring または null必須
group_idsstring の配列 または null必須The groups granted the template; null without permissions:admin.
record_groupstring または null必須
record_template_idstring必須
sectionsobject または null必須The section array (format record_sections, version 1).

RecordTemplatePatchInput​

フィールド型必須説明
created_atstring (date-time) または null任意
created_byUserRefInput または null任意
display_namestring または null任意
group_idsstring の配列 または null任意
record_groupstring または null任意
record_template_idstring または null任意
sectionsobject または null任意

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

UserRefInput​

フィールド型必須説明
display_namestring任意
kindstring: user, system, integration任意
user_idstring または null任意