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

Update a document type (JSON Merge Patch).

PATCH/api/v1/document-types/{document_type_id}lookup_lists:write
注記

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

A rename of a name that documents hold carries the new name to those documents through the bulk-assign task after the rename commits (the caller needs Bulk Edit Document Details and the right to change every one of them).

スコープlookup_lists:write
非同期いいえ
MCP ツールupdate_document_type
Portal の権限edit_document_types

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

DocumentType​

フィールド型必須説明
document_type_idstring必須
is_transmittalboolean必須Whether documents of this type are transmittals.
namestring または null必須

DocumentTypePatchInput​

フィールド型必須説明
document_type_idstring または null任意
is_transmittalboolean または null任意
namestring または null任意