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_id | path | string | 必須 | |
model_note_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-Match | header | string | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | ModelNotePatchInput |
application/merge-patch+json | ModelNotePatchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json ModelNote または object |
400 | invalid_version, malformed_json | 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 |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | 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 のコードです。各コードからそのページに移動できます。
スキーマ
ModelNote
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
can_edit | boolean | 必須 | Whether you made the note, so you may change or delete it. |
created_at | string (date-time) または null | 必須 | |
created_by | UserRef | 必須 | |
document_id | string | 必須 | |
metadata | object | 必須 | Text values; the saved camera is the key model_viewer_camera_v1. |
model_note_id | string | 必須 | |
note_text | string | 必須 | |
object_external_key | string または null | 必須 | The object's identifier in the model file (an IFC GlobalId, for one). |
object_name | string または null | 必須 | |
object_viewer_key | string または null | 必須 | The viewer's database key of the object the note is on. |
position | ModelNotePosition | 必須 | |
source_file_hash | string | 必須 | The model revision the note was made on. |
status | string: open, in_progress, resolved または string | 必須 | |
title | string | 必須 | |
updated_at | string (date-time) または null | 必須 |
ModelNotePatchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
can_edit | boolean または null | 任意 | |
created_at | string (date-time) または null | 任意 | |
created_by | UserRefInput または null | 任意 | |
document_id | string または null | 任意 | |
metadata | object または null | 任意 | Replaces the metadata: up to 20 text values. |
model_note_id | string または null | 任意 | |
note_text | string または null | 任意 | |
object_external_key | string または null | 任意 | |
object_name | string または null | 任意 | |
object_viewer_key | string または null | 任意 | |
position | object または null | 任意 | |
source_file_hash | string または null | 任意 | |
status | string: open, in_progress, resolved または null | 任意 | |
title | string または null | 任意 | |
updated_at | string (date-time) または null | 任意 |
ModelNotePosition
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
x | number | 必須 | |
y | number | 必須 | |
z | number | 必須 |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |
UserRefInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 任意 | |
kind | string: user, system, integration | 任意 | |
user_id | string または null | 任意 |