ListLegacyQueueEventLogs
Retrieves a list of legacy queue event logs for version 1.0. This operation is available only to specific users and is not recommended for other customers.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| PageNumber |
integer |
Yes |
The page number. Valid values: 1 to 1000. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. Valid values: 1 to 1000. |
100 |
| StartTime |
integer |
Yes |
The start time. The value is a UNIX timestamp in milliseconds. |
1657939540015 |
| EndTime |
integer |
Yes |
The end time. The value is a UNIX timestamp in milliseconds. |
1658026180018 |
| SkillGroupId |
string |
No |
The ID of the skill group used to filter results. This parameter is optional. Default value: empty. An empty value indicates that no filtering is applied. |
skillgroup@ccc-test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The response code. |
OK |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
1A5A8998-41F9-5F85-BFCF-EB2B6E376812 |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Data |
object |
The data. |
|
| PageNumber |
integer |
The page number. Valid values: 1 to 1000. |
1 |
| PageSize |
integer |
The number of entries per page. Valid values: 1 to 1000. |
100 |
| TotalCount |
integer |
The total number of entries. |
10 |
| List |
array<object> |
The list of queue event logs. |
|
|
object |
The queue event log. |
||
| Vq |
string |
The queue name. |
skillgroup@ccc-test |
| StatisticDate |
string |
The statistical date. The format is YYYY-MM-DDTHH:mm:ss. |
2021-12-03T10:15:30 |
| QueueTime |
integer |
The queue duration, in seconds. |
10 |
| Ani |
string |
The caller. |
8012**** |
| Dnis |
string |
The callee. |
1312211**** |
| Cause |
string |
The hang-up cause. Valid values:
|
Normal |
| AnswerTime |
integer |
The answer duration, in seconds. |
15 |
| AnswerPhone |
string |
The agent ID. |
agent@ccc-test |
| Acid |
string |
The call ID. |
456328**** |
| TenantId |
string |
The tenant ID. |
acc3733 |
| Id |
integer |
The primary key. |
109160 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"RequestId": "1A5A8998-41F9-5F85-BFCF-EB2B6E376812",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 100,
"TotalCount": 10,
"List": [
{
"Vq": "skillgroup@ccc-test",
"StatisticDate": "2021-12-03T10:15:30",
"QueueTime": 10,
"Ani": "8012****",
"Dnis": "1312211****",
"Cause": "正常",
"AnswerTime": 15,
"AnswerPhone": "agent@ccc-test",
"Acid": "456328****",
"TenantId": "acc3733",
"Id": 109160
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.