You can invoke the ListSkillgroupStates API to obtain the status list of specified skill groups under a specified instance. This API is only available to specific Users, and other Customers are not recommended to invoke it.
This API has been deprecated. We recommend migrating to CCC(2020-07-01) - ListRealtimeSkillGroupStates for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID. |
ccc-test |
| SkillGroupIds |
string |
No |
List of skill group IDs. |
["skillgroup1@ccc-test","skillgroup2@ccc-test"] |
| PageNumber |
integer |
No |
Page number, ranging from 1 to 100. |
1 |
| PageSize |
integer |
No |
Page size, ranging from 1 to 100. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code. |
200 |
| Code |
string |
Response code. |
OK |
| Message |
string |
Response message. |
无 |
| RequestId |
string |
Request ID. |
1F69EBB0-63E9-5DDE-887F-9FC040ADF309 |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
| 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. |
10 |
| List |
array<object> |
List of skill group status data. |
|
|
object |
Skill group status data. |
||
| WorkingAgents |
integer |
The number of agents in post-processing. |
0 |
| LoggedInAgents |
integer |
Number of logged-in agents. |
0 |
| BreakingAgents |
integer |
Number of agents in break status. |
0 |
| LongestCall |
integer |
Maximum waiting duration. |
0 |
| WaitingCalls |
integer |
Number of calls currently in the queue. |
0 |
| TalkingAgents |
integer |
The number of agents on calls. |
0 |
| SkillGroupName |
string |
Skill group name. |
测试技能组 |
| SkillGroupId |
string |
The skill group ID. |
skillgroup1@ccc-test |
| ReadyAgents |
integer |
The number of idle agents. |
1 |
| InstanceId |
string |
Instance ID. |
ccc-test |
| AverageWaitingTime |
integer |
The average waiting time, in seconds. |
3 |
| WaitingCallsLevel10 |
integer |
The number of calls with a waiting duration of less than 10 seconds. |
0 |
| WaitingCallsLevel20 |
integer |
Number of calls with waiting duration less than 20 seconds. |
0 |
| WaitingCallsLevel30 |
integer |
The number of calls with a waiting duration of less than 30 seconds. |
0 |
| OutboundScenarioReadyAgents |
integer |
The number of agents who are idle and in outbound-only status. |
0 |
| InboundTalkingAgents |
integer |
The number of agents on calls in the inbound scenario. |
0 |
| OutboundTalkingAgents |
integer |
Number of agents on outbound calls. |
0 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"RequestId": "1F69EBB0-63E9-5DDE-887F-9FC040ADF309",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 100,
"TotalCount": 10,
"List": [
{
"WorkingAgents": 0,
"LoggedInAgents": 0,
"BreakingAgents": 0,
"LongestCall": 0,
"WaitingCalls": 0,
"TalkingAgents": 0,
"SkillGroupName": "测试技能组",
"SkillGroupId": "skillgroup1@ccc-test",
"ReadyAgents": 1,
"InstanceId": "ccc-test",
"AverageWaitingTime": 3,
"WaitingCallsLevel10": 0,
"WaitingCallsLevel20": 0,
"WaitingCallsLevel30": 0,
"OutboundScenarioReadyAgents": 0,
"InboundTalkingAgents": 0,
"OutboundTalkingAgents": 0
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.