Hoppa till navigering

Update Rule

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

Sökvägsparametrar

agent_idstringObligatorisk
rule_idstringObligatorisk

Headers

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

Förfrågan

This endpoint expects an object.
titlestringObligatorisk
Title of the rule.
descriptionstringObligatorisk
What the agent should do, in detail.
priorityenumValfriStandard är strict

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

Tillåtna värden:

Svar

Lyckat svar
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumValfriStandard är strict

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

Tillåtna värden:
idstringValfri
created_at_unixintegerValfri

Unix timestamp (seconds since epoch)

Fel

422
Unprocessable Entity Error