Update Procedure Draft

Create or update user's draft for a procedure

Parámetros de ruta

agent_idstringRequerido
Agent ID to get the procedure draft from
branch_idstringRequerido
Branch ID to get the procedure draft from
procedure_idstringRequerido
The procedure ID

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
namestringRequerido<=200 characters
Procedure name
contentstringRequerido<=50000 characters
Procedure content
typeenumRequeridoValor predeterminado: 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.

Respuesta

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumOpcionalValor predeterminado: free_form
Procedure type
Valores permitidos:
triggerstringOpcionalValor predeterminado:

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.

Errores

422
Drafts Update Request Unprocessable Entity Error