Update Procedure Draft

Create or update user's draft for a procedure

Parametry ścieżki

agent_idstringWymagany
Agent ID to get the procedure draft from
branch_idstringWymagany
Branch ID to get the procedure draft from
procedure_idstringWymagany
The procedure ID

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
namestringWymagany<=200 characters
Procedure name
contentstringWymagany<=50000 characters
Procedure content
typeenumWymaganyDomyślnie free_form
Procedure type
Dozwolone wartości:
triggerstringOpcjonalny

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.

Odpowiedź

Successful Response
procedure_idstring
Procedure ID
namestring<=200 characters
Procedure name
contentstring<=50000 characters
Procedure content
typeenumOpcjonalnyDomyślnie free_form
Procedure type
Dozwolone wartości:
triggerstringOpcjonalnyDomyślnie

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

Błędy

422
Drafts Update Request Unprocessable Entity Error