Przejdź do nawigacji

Update Rule

Replace an existing rule on the named receptionist. Send every field: an omitted priority resets to strict.

Parametry ścieżki

agent_idstringWymagany
rule_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny
xi-workspace-idstring or nullOpcjonalny
The customer workspace a reseller's API key acts on.

Żądanie

This endpoint expects an object.
titlestringWymagany
Title of the rule.
descriptionstringWymagany
What the agent should do, in detail.
priorityenumOpcjonalnyDomyślnie strict

strict: the agent must always follow the rule; suggestion: a guideline.

Dozwolone wartości:

Odpowiedź

Pomyślna odpowiedź

titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOpcjonalnyDomyślnie strict

strict: the agent must always follow the rule; suggestion: a guideline.

Dozwolone wartości:
idstringOpcjonalny
created_at_unixintegerOpcjonalny

Unix timestamp (seconds since epoch)

Błędy

422
Unprocessable Entity Error