Update Procedure Draft

Create or update user's draft for a procedure

Paramètres de chemin

agent_idstringRequis
Agent ID to get the procedure draft from
branch_idstringRequis
Branch ID to get the procedure draft from
procedure_idstringRequis
The procedure ID

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
namestringRequis<=200 characters
Procedure name
contentstringRequis<=50000 characters
Procedure content
typeenumRequisPar défaut free_form
Procedure type
Valeurs autorisées:
triggerstringOptionnel

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.

Réponse

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumOptionnelPar défaut free_form
Procedure type
Valeurs autorisées:
triggerstringOptionnelPar défaut

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

Erreurs

422
Drafts Update Request Unprocessable Entity Error