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

Create an action request type.

POST/api/v1/action-request-typesworkflow_setup:write
注記

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

A new type has no reply options; add them with POST /action-request-types/{action_request_type_id}/action-replies.

スコープworkflow_setup:write
非同期いいえ
MCP ツールcreate_action_request_type
Portal の権限create_workflow_request_definitions

パラメーター​

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

リクエスト本文​

Content-Type型
application/jsonActionRequestTypeCreateInput

応答​

ステータス説明本文
201Success.application/json ActionRequestType または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

ActionRequestType​

フィールド型必須説明
action_request_type_idstring必須
exclude_from_reportsboolean必須
hide_when_cancelledboolean必須Hide the request from the inbox once its workflow is cancelled.
namestring必須
reply_countinteger必須The reply options the type offers. ≥ -2147483648; ≤ 2147483647
requires_mfaboolean必須Answers need a one-time code.
sort_orderinteger必須≥ -2147483648; ≤ 2147483647

ActionRequestTypeCreateInput​

フィールド型必須説明
exclude_from_reportsboolean任意
hide_when_cancelledboolean任意
namestring必須
requires_mfaboolean任意
sort_orderinteger または null任意