Update Procedure Visibility
Update or clear the visibility of a procedure draft. This is the condition that controls if a procedure is visible to the agent in its procedure menu.
Parametry ścieżki
agent_id
ID agenta, z którego pobrać szkic procedury
branch_id
ID gałęzi, z której ma zostać pobrany szkic procedury
procedure_id
ID procedury
Nagłówki
xi-api-key
Żądanie
This endpoint expects an object.
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. Null clears it, so the procedure is always visible.
Odpowiedź
Pomyślna odpowiedź
procedure_id
ID procedury
name
Nazwa procedury
content
Treść procedury
type
Typ procedury
Dozwolone wartości:
trigger
Kiedy agent powinien użyć tej procedury. Pusty ciąg oznacza, że jest to podprocedura, która powinna rozpocząć się tylko wtedy, gdy odwołuje się do niej inna procedura.
folder_parent_id
ID folderu, w którym znajduje się ta procedura. None oznacza katalog główny.
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. None means always visible.
Błędy
422
Unprocessable Entity Error