Update Procedure Draft

Create or update user's draft for a procedure

Pfadparameter

agent_idstringErforderlich
Agent ID to get the procedure draft from
branch_idstringErforderlich
Branch ID to get the procedure draft from
procedure_idstringErforderlich
The procedure ID

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
namestringErforderlich<=200 characters
Procedure name
contentstringErforderlich<=50000 characters
Procedure content
typeenumErforderlichStandardwert ist free_form
Procedure type
Erlaubte Werte:
triggerstringOptional

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.

Antwort

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumOptionalStandardwert ist free_form
Procedure type
Erlaubte Werte:
triggerstringOptionalStandardwert ist

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

Fehler

422
Drafts Update Request Unprocessable Entity Error