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

Replace the people a document is copied to.

POST/api/v1/documents/{document_id}/ccs/replacedocuments:write
注記

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

The body is the whole set, kept in array order; an empty list clears it. Each item names a contact (its organisation comes with it) or an organisation on its own. Needs Edit Document Recipients and an edit grant on the unlocked document, with Add Document Ccs when the set adds a copy and Remove Document Ccs when it drops one. The saved set is shown with View Document Ccs; without it the answer is the write receipt.

スコープdocuments:write
非同期いいえ
MCP ツールreplace_document_ccs
Portal の権限edit_document_recipients

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonCarbonCopySetRequestInput

応答​

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

スキーマ​

CarbonCopy​

フィールド型必須説明
cc_idstring必須
contactobject または null必須The contact of the organisation the copy names; null for the organisation on its own.
organisationobject または null必須

CarbonCopyInputInput​

フィールド型必須説明
contactobject または null任意A contact; its organisation comes with it.
organisationobject または null任意An organisation, for a copy that names no person. Leave out when contact is given.

CarbonCopySet​

フィールド型必須説明
countinteger必須≥ -2147483648; ≤ 2147483647
document_idstring必須
itemsCarbonCopy の配列必須

CarbonCopySetRequestInput​

フィールド型必須説明
itemsCarbonCopyInputInput の配列必須The whole set, in the order to keep.