Update Procedure Draft

Create or update user's draft for a procedure

パスパラメータ

agent_idstring必須
Agent ID to get the procedure draft from
branch_idstring必須
Branch ID to get the procedure draft from
procedure_idstring必須
The procedure ID

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
namestring必須<=200 characters
Procedure name
contentstring必須<=50000 characters
Procedure content
typeenum必須デフォルト値 free_form
Procedure type
許可された値:
triggerstringオプション

When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it. If omitted or null, the trigger is derived from the content instead. Also accepts description as an alias.

レスポンス

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumオプションデフォルト値 free_form
Procedure type
許可された値:
triggerstringオプションデフォルト値

When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it.

folder_parent_idstringオプション
Procedure ID of the folder this procedure is placed in. None means root.

エラー

422
Drafts Update Request Unprocessable Entity Error