You need the Manage Settings permission to manage Auto Distrubution
Auto Distribution is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
isEnabled |
bool | Whether auto distribution is enabled or not. |
autoDistributionMethod |
string | Allowed values are "loadBalancing", "roundRobin", "capabilityWeighted". |
isLastChattedAgentPreferredForAutoDistribution |
bool | Whether the last-chatted agent is preferred or not. |
ifLimitMaxConcurrentChatsForAllAgents |
bool | Whether to set the same maximum number of chats for all agents. |
maxConcurrentChatsForAllAgents |
integer | Maximum number of chats for all agents. |
ifAgentCanManuallyAcceptChatsAfterReachingMaxChatsLimit |
bool | Whether to allow agent to manually accept chat after reaching max chats limit in agent console. |
ifNotAutoDistributeChatsToAgentsWhenHavingAudioVideoChat |
bool | Whether to allocate chats to agents who are having audio or video chats. |
isLastChattedAgentPreferredForAutoAccept |
bool | Whether the last-chatted agent is preferred or not. |
agentAutoDistributionConfigs |
agentAutoDistributionConfigs[] | Reference to Agent Auto Distribution. |
departmentAutoDistributionConfigs |
departmentAutoDistributionConfigs[] | Reference to Department Auto Distribution. |
Agent Auto Distribution JSON Format:
Name | Type | Description |
---|---|---|
ifAutoAcceptChat |
bool | When it is false, the agent will not accept chat automatically. Default: true. |
maxConcurrentChats |
integer | Maximum chat number. |
agentId |
guid | Id of the agent. |
agent |
agent | Reference to Agent. |
Department Auto Distribution JSON Format:
Name | Type | Description |
---|---|---|
departmentId |
guid | Id of the department. |
autoDistributionMethod |
string | Allowed values are "loadBalancing", "roundRobin", "capabilityWeighted". |
isLastChattedAgentPreferred |
bool | Whether the last chatted agent is preferred or not. |
backupDepartmentId |
guid | Id of the backup department. |
GET livechat/autoDistributionConfig
Name | Type | In | Required | Description |
---|---|---|---|---|
include |
string | query | no | Allowed values are "agentAutoDistributionConfig", "departmentAutoDistributionConfig". |
Sample Request:
Response:
HTTP/1.1 200 OK
POST livechat/autoDistributionConfig:disable
Sample Request:
Response:
HTTP/1.1 200 OK
POST livechat/autoDistributionConfig:enable
Sample Request:
Response:
HTTP/1.1 200 OK
PUT livechat/autoDistributionConfig
Name | Type | In | Required | Description |
---|---|---|---|---|
isEnabled |
bool | body | no | Whether auto distribution is enabled or not. |
autoDistributionMethod |
string | body | no | Allowed values are "loadBalancing", "roundRobin", "capabilityWeighted". |
isLastChattedAgentPreferredForAutoDistribution |
bool | body | no | Whether the last-chatted agent is preferred or not. |
ifLimitMaxConcurrentChatsForAllAgents |
bool | body | no | Whether to set the same maximum number of chats for all agents. |
maxConcurrentChatsForAllAgents |
integer | body | no | Maximum number of chats for all agents. |
ifAgentCanManuallyAcceptChatsAfterReachingMaxChatsLimit |
bool | body | no | Whether to allow agent to manually accept chat after reaching max chats limit in agent console. |
ifNotAutoDistributeChatsToAgentsWhenHavingAudioVideoChat |
bool | body | no | Whether to allocate chats to agents who are having audio or video chats. |
isLastChattedAgentPreferredForAutoAccept |
bool | body | no | Whether the last-chatted agent is preferred or not. |
agentAutoDistributionConfigs |
agentAutoDistributionConfigs[] | body | no | Reference to Agent Auto Distribution. |
departmentAutoDistributionConfigs |
departmentAutoDistributionConfigs[] | body | no | Reference to Department Auto Distribution. |
Sample Request:
Response:
HTTP/1.1 200 OK