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

Change an unsent entry of a document's distribution list.

PATCH/api/v1/documents/{document_id}/distribution-entries/{distribution_entry_id}documents:write
注記

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

Only what is sent changes: the recipient (type with user_id or contact_id) and action_request_id. An entry that has been sent is 409 conflict. Needs Edit Document Distribution Entries and read access to the document.

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

パラメーター​

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

リクエスト本文​

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

応答​

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

スキーマ​

DistributionEntry​

フィールド型必須説明
action_request_idstring または null必須The action request the recipient's email asks for, when one applies.
contact_idstring または null必須
distribution_entry_idstring必須
distribution_idstring または null必須The email this entry was sent in; null while unsent.
downloaded_atstring (date-time) または null必須When the recipient followed a download link; null if not yet.
email_addressstring または null必須The address the document is sent to; null when the user or contact has none.
is_sentboolean必須
queued_atstring (date-time) または null必須
read_atstring (date-time) または null必須When the recipient opened the email; null if not yet.
sent_atstring (date-time) または null必須When the mail provider accepted the email; null while unsent.
typestring必須user or contact (an open enum): which of user_id or contact_id names the recipient.
user_idstring または null必須

DistributionEntryPatchInput​

フィールド型必須説明
action_request_idstring または null任意
contact_idstring または null任意
distribution_entry_idstring または null任意
distribution_idstring または null任意
downloaded_atstring (date-time) または null任意
email_addressstring または null任意
is_sentboolean または null任意
queued_atstring (date-time) または null任意
read_atstring (date-time) または null任意
sent_atstring (date-time) または null任意
typestring または null任意
user_idstring または null任意