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

Link many documents to a transmittal as drawings.

POST/api/v1/documents/{document_id}/drawings/batch-adddocuments:write
注記

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

The document in the path is the transmittal. Needs Create Document Transmittals, View Document Metadata and an edit grant on the transmittal, and each drawing must be readable by the caller. A drawing already linked is answered 200 with no change.

スコープdocuments:write
非同期いいえ
MCP ツールbatch_add_document_drawings
Portal の権限create_document_transmittals, view_document_metadata

パラメーター​

名前場所型必須説明
document_idpathstring必須
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonDocumentDrawingBatchInput

応答​

ステータス説明本文
200Success.application/json object または 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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

DocumentDrawingBatchInput​

フィールド型必須説明
atomicboolean必須
itemsDocumentDrawingItemInput の配列必須

DocumentDrawingItemInput​

フィールド型必須説明
drawing_idstring必須
フィールド型必須説明
document_idstring必須The transmittal.
drawing_idstring必須The linked document.