- DarkLight
Get Agent Call Count
- DarkLight
Overview
The GetAgenCallCount API provides the number of non-PEWC contacts available for a specific Agent. It returns the count of PCB, NCB, and regular contacts.
Note
The Manual Dial Widget will eventually replace the Non-PEWC widget. Non-PEWC is compatible up to the Campaign Manager version 2308.
Pre-requisite
The agent must be logged in to the application.
Sequence Diagram
Message Structure
Request Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | GetAgentCallCount |
source | «app-name-broadcasting-this-message» |
data | «JSON Object» |
Data Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
UserID | Yes | String | Agent ID. |
Response Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | AgentCallCount |
message | «JSON Object» |
Message Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
response | Yes | JSON Object | Response object |
Response Parameters | |||
PCBCount | Yes | String | The count of personal Callback calls. |
RegularCount | Yes | String | The count of Regular Callback calls. |
IsAgentReserved | Yes | String | Indicates if the agent is reserved.
|
Sample Request
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "GetAgentCallCount",
"data":
{
"UserID": "testagent”
}
}
Sample Response
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "AgentCallCount",
"message":
{
"response":
{
"PCBCount": "0",
"RegularCount": "1",
"IsAgentReserved": "0"
}
}
}