- DarkLight
Get Non-PEWC PCB List
- DarkLight
Overview
This API provides a list of non-PEWC contacts that are marked for manual dialing as personal Callback (PCB) calls.
Pre-requisite
The Agent must be logged in to the application.
Note
The Manual Dial Widget replaces the Non-PEWC widget eventually. Non-PEWC is compatible up to the Campaign Manager version 2308.
Sequence Diagram
Message Structure
Request Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | GetAllPEWCList |
source | «app-name-broadcasting-this-message» |
data | «JSON Object» |
Data Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
UserId | Yes | String | The agent ID. |
Response Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | AllPEWCList |
message | «JSON Object» |
Message Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
response | Yes | JSON Array | Response array. |
Response Parameters | |||
PhoneNumber | Yes | String | The customer phone number. |
AccountNumber | Yes | String | The LCM Key. |
CampaignId | Yes | String | The campaign ID. |
Mode | Yes | String | The contact mode. |
ContactId | Yes | String | The contact ID generated by the application. |
ExpiryTime | Yes | String | The contact expiry time. |
CallbackTime | Yes | String | The callback time set for this contact. |
CallType | Yes | String | The call type - regular, regular callback, or personal callback. |
Prefix | Yes | String | The prefix added to the contact number. |
Suffix | Yes | String | The suffix added to the contact number. |
Queue | Yes | String | The queue name from where the contact originated. |
Sample Request
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "GetAllPEWCList",
"data":
{
"UserID": "testagent”
}
}
Sample Response
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "AllPEWCList",
"message":
{
"response":
[
{
"AccountNumber": "137|1|3|0|0|84|1",
"ContactId": "137",
"PhoneNumber": "9873635",
"ExpiryTime": "Oct 7 2020 11:59PM",
"CallbackTime": "Oct 7 2020 11:59PM",
"CampaignId": null,
"Mode": null,
"CallType": null,
"Prefix": null,
"Suffix": null,
"Queue": null
}
]
}
}