Update Procedure Draft

Create or update user's draft for a procedure

Parâmetros de caminho

agent_idstringObrigatório
Agent ID to get the procedure draft from
branch_idstringObrigatório
Branch ID to get the procedure draft from
procedure_idstringObrigatório
The procedure ID

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects an object.
namestringObrigatório<=200 characters
Procedure name
contentstringObrigatório<=50000 characters
Procedure content
typeenumObrigatórioPadrão é free_form
Procedure type
Valores permitidos:
triggerstringOpcional

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.

Resposta

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumOpcionalPadrão é free_form
Procedure type
Valores permitidos:
triggerstringOpcionalPadrão é

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_idstringOpcional
Procedure ID of the folder this procedure is placed in. None means root.

Erros

422
Drafts Update Request Unprocessable Entity Error