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

Replace a workflow template's sections.

POST/api/v1/workflow-templates/{workflow_template_id}/sections/replaceworkflows:author
注記

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

Sends the complete set of sections of the template: each named section with the steps in it. A section not sent is removed, and each step's team label becomes the label of the first section that holds it, as the builder does. The change is saved as a new version, the one that runs from now on. If-Match compares the template's stored columns and its running version. The answer is the new set.

スコープworkflows:author
非同期いいえ
MCP ツールreplace_workflow_template_sections
Portal の権限edit_workflow_templates

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonWorkflowTemplateSectionSetInput

応答​

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

スキーマ​

WorkflowTemplateSection​

フィールド型必須説明
namestring必須The section's label; the steps in it report under this label.
step_idsstring の配列必須The steps in the section, by their node_id from a template read.

WorkflowTemplateSectionInput​

フィールド型必須説明
namestring必須The section's label; the steps in it report under this label.
step_idsstring の配列必須The steps in the section, by their node_id from a template read.

WorkflowTemplateSectionSet​

フィールド型必須説明
itemsWorkflowTemplateSection の配列必須The complete set. A section not listed is removed; an empty list removes them all.

WorkflowTemplateSectionSetInput​

フィールド型必須説明
itemsWorkflowTemplateSectionInput の配列必須The complete set. A section not listed is removed; an empty list removes them all.