Naar navigatie springen

Update Rule

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

Padparameters

agent_idstringVerplicht
rule_idstringVerplicht

Headers

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

Verzoek

This endpoint expects an object.
titlestringVerplicht
Title of the rule.
descriptionstringVerplicht
What the agent should do, in detail.
priorityenumOptioneelStandaard strict

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

Toegestane waarden:

Response

Geslaagde response
titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumOptioneelStandaard strict

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

Toegestane waarden:
idstringOptioneel
created_at_unixintegerOptioneel

Unix timestamp (seconds since epoch)

Fouten

422
Unprocessable Entity Error