- DarkLight
Skip Non-PEWC Contact
- DarkLight
Overview
The SkipNonPEWCContact API provides an option to the Agent skip a reserved non-PEWC contact.
Pre-requisite
The agent must be logged in to the application and be on a reserved non-PEWC contact.
Note
The Manual Dial Widget replaces the Non-PEWC widget eventually. Non-PEWC is compatible up to the Campaign Manager version 2308.
Sequence Diagram
.jpg?sv=2022-11-02&spr=https&st=2025-12-24T04%3A09%3A29Z&se=2025-12-24T04%3A19%3A29Z&sr=c&sp=r&sig=GeX1ZdJdXkjwtsjco89mb4DK7V6WN3ZV%2F9Q5VBFYjuY%3D)
Message Structure
Request Parameters | Value |
|---|---|
channel | LCM |
topic | Webservice |
subtopic | SkipNonPEWCContact |
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 | SkipNonPEWCContactResult |
message | «JSON Object» |
Message Parameters
Parameter | Mandatory | Data Type | Description |
|---|---|---|---|
response | Yes | JSON Array | Response object. |
Response Parameters | |||
success | Yes | Boolean | Skip status. |
msg | No | String | Failure message. |
Sample Request
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "SkipNonPEWCContact",
"data":
{
"userID": "testagent"
}
}Sample Response - If Contact is Fetched
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "SkipNonPEWCContactResult",
"message":
{
"response":
{
"success": true
}
}
}Sample Response - If no Contact is Fetched
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "SkipNonPEWCContactResult",
"message":
{
"response":
{
"success": false,
"msg": "Contact not found"
}
}
}