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

Link an uploaded document to an action request.

POST/api/v1/action-requests/{action_request_id}/attachment-linksworkflows:decide
注記

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

Records that a document is the answer's file for a slot, and starts the slot's sub-workflow on it when the slot has one, as the Inbox does after an upload. Only for an open request addressed to you or a group of yours, and a document you may read. Create the document first; replying with a required upload needs a link for every required slot.

スコープworkflows:decide
非同期いいえ
MCP ツールcreate_action_request_attachment_link
Portal の権限create_workflow_attachment_links

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonActionRequestAttachmentLinkCreateInput

応答​

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

スキーマ​

フィールド型必須説明
action_request_idstring必須
attachment_link_idstring必須
document_idstring または null必須The uploaded document; null when you may not read it.
is_sub_workflow_completedboolean必須
processing_statusstring必須pending, processing, completed or error (open enum): the Portal's work on the link, which starts the slot's sub-workflow.
spawned_workflow_idstring または null必須The sub-workflow the upload started; null when none, or when you may not open it.
sub_workflow_completed_atstring (date-time) または null必須
upload_slot_idstring または null必須The slot the upload belongs to; null for an upload linked to no slot.
uploaded_atstring (date-time) または null必須
uploaded_byUserRef必須

ActionRequestAttachmentLinkCreateInput​

フィールド型必須説明
document_idstring必須The uploaded document (create it first, as an attachment of the request's document or on its own).
upload_slot_idstring または null任意The slot the file was uploaded against, from list_action_request_upload_slots; leave out for an upload no slot asked for.

UserRef​

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