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

Change a model note (JSON Merge Patch).

PATCH/api/v1/documents/{document_id}/model-notes/{model_note_id}annotations:write
注記

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

Changes the title, note_text, status or metadata of a note; its position and object stay. Needs Edit Model Markups, and only the person who made the note may change it (403).

スコープannotations:write
非同期いいえ
MCP ツールupdate_document_model_note
Portal の権限edit_model_markups

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

ModelNote​

フィールド型必須説明
can_editboolean必須Whether you made the note, so you may change or delete it.
created_atstring (date-time) または null必須
created_byUserRef必須
document_idstring必須
metadataobject必須Text values; the saved camera is the key model_viewer_camera_v1.
model_note_idstring必須
note_textstring必須
object_external_keystring または null必須The object's identifier in the model file (an IFC GlobalId, for one).
object_namestring または null必須
object_viewer_keystring または null必須The viewer's database key of the object the note is on.
positionModelNotePosition必須
source_file_hashstring必須The model revision the note was made on.
statusstring: open, in_progress, resolved または string必須
titlestring必須
updated_atstring (date-time) または null必須

ModelNotePatchInput​

フィールド型必須説明
can_editboolean または null任意
created_atstring (date-time) または null任意
created_byUserRefInput または null任意
document_idstring または null任意
metadataobject または null任意Replaces the metadata: up to 20 text values.
model_note_idstring または null任意
note_textstring または null任意
object_external_keystring または null任意
object_namestring または null任意
object_viewer_keystring または null任意
positionobject または null任意
source_file_hashstring または null任意
statusstring: open, in_progress, resolved または null任意
titlestring または null任意
updated_atstring (date-time) または null任意

ModelNotePosition​

フィールド型必須説明
xnumber必須
ynumber必須
znumber必須

UserRef​

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

UserRefInput​

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