नेविगेशन पर जाएँ

Add Rule

Add a behavioral rule to the named receptionist.

पाथ पैरामीटर

agent_idstringआवश्यक

हेडर

xi-api-keystringवैकल्पिक
xi-workspace-idstring or nullवैकल्पिक
The customer workspace a reseller's API key acts on.

अनुरोध

This endpoint expects an object.
titlestringआवश्यक
Title of the rule.
descriptionstringआवश्यक
What the agent should do, in detail.
priorityenumवैकल्पिकडिफ़ॉल्ट: strict

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

अनुमत मान:

रिस्पॉन्स

सफल रिस्पॉन्स

titlestring
Title of the rule.
descriptionstring
What the agent should do, in detail.
priorityenumवैकल्पिकडिफ़ॉल्ट: strict

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

अनुमत मान:
idstringवैकल्पिक
created_at_unixintegerवैकल्पिक

Unix timestamp (seconds since epoch)

त्रुटियाँ

422
Unprocessable Entity Error