Invoke ListCases to obtain the execution details list of the outbound contact list for the predictive dialing Activity corresponding to the specified ID under the specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| CampaignId |
string |
Yes |
Predictive outbound dialing activity ID. |
6badb397-a8b5-40b6-21019d382a09 |
| PhoneNumber |
string |
No |
Filters by phone number. Fuzzy Matching is not supported. This parameter is not Required and defaults to empty. |
无 |
| PageNumber |
integer |
Yes |
The paging ordinal number, ranging from 1 to 100. |
1 |
| PageSize |
integer |
Yes |
Page size, ranging from 1 to 100. |
100 |
| State |
string |
No |
Pending (to be dialed) |
Pending |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
7CC6523B-0E51-1B62-8DA5-6A9831CAE316 |
| Message |
string |
Response message. |
无 |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Code |
string |
Response code. |
OK |
| Data |
object |
Data. |
|
| PageNumber |
integer |
Page number, ranging from 1 to 100. |
1 |
| PageSize |
integer |
Page size, ranging from 1 to 100. |
100 |
| TotalCount |
integer |
Total count. |
1 |
| List |
array<object> |
List of contact list execution details. |
|
|
object |
Contact list execution details. |
||
| AbandonType |
string |
The type of call abandonment, that is, the reason why the call was not successfully connected. Valid values:
|
NA |
| AttemptCount |
integer |
Number of attempts, which is the total number of calls made to this contact. |
1 |
| FailureReason |
string |
Reason for outbound call failure. Valid values:
|
无 |
| PhoneNumber |
string |
Phone number. |
1888888**** |
| State |
string |
Status. Valid values:
|
Connected |
| CaseId |
string |
System-generated contact ID. Customers do not need to concern themselves with this. |
60ecb1a2-4480-4d01-bede-c5b7655bfadf |
| CustomVariables |
string |
Custom variables defined by the customer, formatted as a JSON object. The object can contain up to 10 properties, each with a name and value defined by the customer. These can be configured when creating a predictive outbound dialing activity. |
{"name":"yy","客戶标签":"tag-yy"} |
| AbandonPhase |
string |
Phase at which the call was abandoned.
|
Ringing |
Examples
Success response
JSON format
{
"RequestId": "7CC6523B-0E51-1B62-8DA5-6A9831CAE316",
"Message": "无",
"HttpStatusCode": 200,
"Code": "OK",
"Data": {
"PageNumber": 1,
"PageSize": 100,
"TotalCount": 1,
"List": [
{
"AbandonType": "NA",
"AttemptCount": 1,
"FailureReason": "无",
"PhoneNumber": "1888888****",
"State": "Connected",
"CaseId": "60ecb1a2-4480-4d01-bede-c5b7655bfadf",
"CustomVariables": "{\"name\":\"yy\",\"客戶标签\":\"tag-yy\"}",
"AbandonPhase": "Ringing"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.