Get DNC Business Fields
- DarkLight
Get DNC Business Fields
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
The GetDNCBusinessFields API provides the business fields used to mark a contact as a Do Not Call (DNC) contact.
Pre-requisite
The Agent must be on an active Outbound Call or logged in to the application.
Sequence Diagram
Message Structure
Request Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | GetDNCBussField |
source | «app-name-broadcasting-this-message» |
data | «JSON Object» |
Data Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
callid | Yes | String | The Call ID. |
AccountNumber | Yes | String | The LCM Key. |
Response Parameters | Value |
---|---|
channel | LCM |
topic | Webservice |
subtopic | DNCBussField |
message | «JSON Object» |
Message Parameters
Parameter | Mandatory | Data Type | Description |
---|---|---|---|
callid | Yes | String | The call ID. |
response | Yes | Json Array | List of business fields. |
Sample Request
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "GetDNCBussField",
"data":
{
"callid": "12345",
"AccountNumber": "137|1|3|0|0|84|"
}
}
Sample Response
{
"channel": "LCM",
"topic": "WebService",
"subtopic": "DNCBussField",
"message":
{
"callid": "12345",
"response":
[
"LName"
]
}
}
Was this article helpful?