ListHistoricalSkillGroupReport
Retrieves historical data reports for one or more skill groups in a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
Yes |
The page number. Valid values: 1 to 100. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. Valid values: 1 to 100. |
100 |
| SkillGroupIdList |
string |
No |
The list of skill group IDs to query. The value is a character string in the JSON array format, where each array element is a skill group ID. This parameter is optional. Default value: empty. An empty value indicates that all skill groups in the current paging are queried. |
["skillgroup1@ccc-test", "skillgroup2@ccc-test2"] |
| StartTime |
integer |
No |
The start time of the historical data to retrieve. Specify a UNIX timestamp in milliseconds. This parameter is optional. Default value: 00:00:00 on the current day. The earliest allowed time is 180 days before the current time. The statistical time precision is in hours. The start time is rounded down to the nearest hour, and the interval is closed. |
1532448000000 |
| EndTime |
integer |
No |
The end time of the historical data to retrieve. Specify a UNIX timestamp in milliseconds. This parameter is optional. Default value: the current time. The statistical time precision is in hours. The end time is rounded up to the nearest hour, and the interval is open. For example, if the start time is 11:12:20 and the end time is 11:45:50, the aligned time range is [11:00:00, 12:00:00), which means greater than or equal to 11:00:00 and less than 12:00:00. |
1532707199000 |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| MediaType |
string |
No |
The media type. Default value: Audio. Valid values: Audio, Chat, and Video. |
VIDEO |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| Data |
object |
The data. |
|
| List |
array<object> |
The list of historical data for the skill group. |
|
|
array<object> |
The historical data for the skill group. |
||
| Back2Back |
object |
The back-to-back call metrics. |
|
| AgentHandleRate |
number |
The agent answer rate. |
1 |
| AnswerRate |
number |
The answer rate. Calculation formula: CallsAnswered/CallsDialed. The result may exceed 100% in some cases because answer events and response events may fall into different time ranges. |
0.6 |
| AverageCustomerRingTime |
number |
The average ring time on the customer side, in seconds. |
100 |
| AverageRingTime |
number |
The average ring time, in seconds. |
100 |
| AverageTalkTime |
number |
The average talk time, in seconds. |
100 |
| CallsAnswered |
integer |
The number of answered calls. |
100 |
| CallsCustomerAnswered |
integer |
The number of calls answered by customers. |
8 |
| CallsDialed |
integer |
The number of dialed calls. |
100 |
| CustomerAnswerRate |
number |
The customer answer rate. |
0.8 |
| MaxCustomerRingTime |
integer |
The maximum ring time on the customer side, in seconds. |
100 |
| MaxRingTime |
integer |
The maximum ring time, in seconds. |
100 |
| MaxTalkTime |
integer |
The maximum talk time, in seconds. |
100 |
| TotalCustomerRingTime |
integer |
The total ring time on the customer side, in seconds. |
100 |
| TotalRingTime |
integer |
The total ring time, in seconds. |
100 |
| TotalTalkTime |
integer |
The total talk time, in seconds. |
100 |
| Inbound |
object |
The inbound call metrics. |
|
| AbandonRate |
number |
The abandon rate. Calculation formula: CallsAbandoned/CallsOffered. The result may exceed 100% in some cases because abandon events and allocation events may fall into different time ranges. |
0 |
| AccessChannelTypeDetails |
array<object> |
The statistical data for each channel. |
|
|
object |
The statistical data for each channel. |
||
| AccessChannelType |
string |
The channel type. |
Web |
| CallsOffered |
integer |
The number of offered sessions. |
2 |
| AverageAbandonTime |
number |
The average abandon time, in seconds. Calculation formula: TotalAbandonTime/CallsAbandoned. |
0 |
| AverageAbandonedInQueueTime |
number |
The average abandon time in queue, in seconds. Calculation formula: TotalAbandonedInQueueTime/CallsAbandonedInQueue. |
0 |
| AverageAbandonedInRingTime |
number |
The average abandon time during ringing, in seconds. Calculation formula: TotalAbandonedInRingTime/CallsAbandonedInRing. |
0 |
| AverageFirstResponseTime |
number |
The average first response time for chat sessions, in seconds. |
6 |
| AverageHoldTime |
number |
The average hold time, in seconds. Calculation formula: TotalHoldTime/CallsHold. |
0 |
| AverageResponseTime |
number |
The average response time for chat sessions. |
8 |
| AverageRingTime |
number |
The average ring time, in seconds. Calculation formula: TotalRingTime/CallsRinged. |
5 |
| AverageTalkTime |
number |
The average talk time, in seconds. Calculation formula: TotalTalkTime/CallsHandled. |
64 |
| AverageWaitTime |
number |
The average wait time, which is the average time a caller waits before an agent answers the call. Calculation formula: TotalWaitTime/CallsHandled. |
5 |
| AverageWorkTime |
number |
The average after-call work time, in seconds. Calculation formula: TotalWorkTime/CallsHandled. |
13 |
| CallsAbandoned |
integer |
The number of abandoned calls. Calculation formula: CallsAbandonedInQueue + CallsAbandonedInRing. |
0 |
| CallsAbandonedInQueue |
integer |
The number of calls abandoned in queue, which refers to the number of calls hung up by customers while waiting in the queue after entering it. |
0 |
| CallsAbandonedInRing |
integer |
The number of calls abandoned during ringing, which refers to the number of calls hung up by customers while the agent is ringing. |
0 |
| CallsAttendedTransferIn |
integer |
The number of attended transfers in, which refers to the number of calls transferred to this skill group from other skill groups through attended transfers. Transfers between agents within the same skill group are not counted. If an agent is signed in to multiple skill groups at the same time, the call is attributed to the first skill group the agent signed in to. If a call is transferred to this skill group multiple times from other skill groups, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsAttendedTransferOut |
integer |
The number of attended transfers out, which refers to the number of calls transferred from this skill group to other skill groups through attended transfers. Transfers between agents within the same skill group are not counted. |
0 |
| CallsBlindTransferIn |
integer |
The number of blind transfers in, which refers to the number of calls transferred to this skill group from other skill groups through blind transfers. Transfers between agents within the same skill group are not counted. If an agent is signed in to multiple skill groups at the same time, the call is attributed to the first skill group the agent signed in to. If a call is transferred to this skill group multiple times from other skill groups, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsBlindTransferOut |
integer |
The number of blind transfers out, which refers to the number of calls transferred from this skill group to other skill groups through blind transfers. Transfers between agents within the same skill group are not counted. |
0 |
| CallsHandled |
integer |
The number of handled calls, which refers to the number of times agents answer calls. If a call is answered by multiple agents after entering the queue each time, it is counted as one. |
7 |
| CallsHold |
integer |
The number of held calls, which refers to the number of times calls are put on hold. If a call is put on hold multiple times after entering the queue each time, it is counted as one. |
0 |
| CallsOffered |
integer |
The number of offered calls, which refers to the number of calls assigned to this skill group, including calls assigned through queues and calls assigned through transfers (attended transfers and blind transfers). Calculation formula: CallsQueued + CallsBlindTransferIn + CallsAttendedTransferIn. |
7 |
| CallsOverflow |
integer |
The number of overflowed calls, which refers to the number of calls that overflow from the queue or skill group. If a call enters the same queue multiple times and overflows each time, each overflow is counted as one. |
0 |
| CallsQueued |
integer |
The number of queued calls in inbound scenarios, which refers to the number of calls that enter the queue or skill group. If a call enters the same queue multiple times, each entry is counted as one. |
7 |
| CallsQueuingFailed |
integer |
The number of failed queue calls, which refers to the number of calls hung up by customers while waiting in the queue after entering it. |
0 |
| CallsQueuingOverflow |
integer |
The number of calls that overflow from the queue, which refers to calls that overflow while waiting in the IVR queue. |
0 |
| CallsQueuingTimeout |
integer |
The number of calls that time out during the queuing phase. |
0 |
| CallsRinged |
integer |
The number of ringing calls, which refers to the number of calls that trigger agent ringing. If a call is assigned to multiple agents and triggers ringing after entering the queue each time, it is counted as one. |
7 |
| CallsTimeout |
integer |
The number of timed-out calls, which refers to the number of calls that time out in the queue or skill group. If a call enters the same queue multiple times and times out each time, each timeout is counted as one. |
0 |
| HandleRate |
number |
The handle rate. Calculation formula: CallsHandled/CallsOffered. The result may exceed 100% in some cases because handle events and offer events may fall into different time ranges. |
1 |
| MaxAbandonTime |
integer |
The maximum abandon time, in seconds. |
0 |
| MaxAbandonedInQueueTime |
integer |
The maximum abandon time in queue, in seconds. |
0 |
| MaxAbandonedInRingTime |
integer |
The maximum abandon time during ringing, in seconds. |
0 |
| MaxHoldTime |
integer |
The maximum hold time, in seconds. |
0 |
| MaxRingTime |
integer |
The maximum ring time, in seconds. |
12 |
| MaxTalkTime |
integer |
The maximum talk time, in seconds. |
0 |
| MaxWaitTime |
integer |
The maximum wait time, in seconds. |
13 |
| MaxWorkTime |
integer |
The maximum after-call work time, in seconds. |
12 |
| SatisfactionIndex |
number |
The satisfaction index, which is the average value of the satisfaction rating digits. |
0 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings / Number of satisfaction survey responses. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction surveys responded to. |
0 |
| ServiceLevel15 |
number |
The 15-second service level. |
0.7 |
| ServiceLevel20 |
number |
The 20-second service level. Calculation formula: Number of calls with a wait time of less than or equal to 20 seconds / CallsQueued. |
0 |
| ServiceLevel30 |
number |
The 30-second service level. |
0.9 |
| TotalAbandonTime |
integer |
The total abandon time, in seconds. |
0 |
| TotalAbandonedInQueueTime |
integer |
The total abandon time in queue, in seconds. |
0 |
| TotalAbandonedInRingTime |
integer |
The total abandon time during ringing, in seconds. |
0 |
| TotalHoldTime |
integer |
The total hold time, in seconds. |
0 |
| TotalMessagesSent |
integer |
The total number of messages sent in chat sessions. |
12 |
| TotalMessagesSentByAgent |
integer |
The total number of messages sent by agents in chat sessions. |
9 |
| TotalMessagesSentByCustomer |
integer |
The total number of messages sent by customers in chat sessions. |
3 |
| TotalRingTime |
integer |
The total ring time, in seconds. |
32 |
| TotalTalkTime |
integer |
The total talk time, in seconds. |
447 |
| TotalWaitTime |
integer |
The total wait time, in seconds. |
34 |
| TotalWorkTime |
integer |
The total after-call work time, in seconds. |
85 |
| Outbound |
object |
The outbound metrics. |
|
| AnswerRate |
number |
The answer rate. Calculation formula: CallsAnswered/CallsDialed. The result may exceed 100% in some cases because answer events and response events may fall into different time ranges. |
0 |
| AverageDialingTime |
number |
The average dialing time in seconds. Formula: TotalDialingTime/CallsDialed. |
37 |
| AverageHoldTime |
number |
The average hold time, in seconds. Calculation formula: TotalHoldTime/CallsHold. |
0 |
| AverageRingTime |
number |
The average ring time, in seconds. Calculation formula: TotalRingTime/CallsRinged. |
0 |
| AverageTalkTime |
number |
The average talk time in seconds. Formula: TotalTalkTime/CallsAnswered. |
3 |
| AverageWorkTime |
number |
The average after-call work time in seconds. Formula: TotalWorkTime/CallsDialed. |
2 |
| CallsAnswered |
integer |
The number of answered calls. |
1 |
| CallsAttendedTransferIn |
integer |
The number of attended transfers in, which refers to the number of calls transferred to this skill group from other skill groups through attended transfers. Transfers between agents within the same skill group are not counted. If an agent is signed in to multiple skill groups at the same time, the call is attributed to the first skill group the agent signed in to. If a call is transferred to this skill group multiple times from other skill groups, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsAttendedTransferOut |
integer |
The number of attended transfers out, which refers to the number of calls transferred from this skill group to other skill groups through attended transfers. Transfers between agents within the same skill group are not counted. |
0 |
| CallsBlindTransferIn |
integer |
The number of blind transfers in, which refers to the number of calls transferred to this skill group from other skill groups through blind transfers. Transfers between agents within the same skill group are not counted. If an agent is signed in to multiple skill groups at the same time, the call is attributed to the first skill group the agent signed in to. If a call is transferred to this skill group multiple times from other skill groups, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsBlindTransferOut |
integer |
The number of blind transfers out, which refers to the number of calls transferred from this skill group to other skill groups through blind transfers. Transfers between agents within the same skill group are not counted. |
0 |
| CallsDialed |
integer |
The number of dialed calls. |
6 |
| CallsHold |
integer |
The number of calls placed on hold. If a call is placed on hold multiple times before being transferred out of the current skill group, it is counted as one. |
0 |
| CallsRinged |
integer |
The number of ringing calls, which refers to the number of calls that trigger agent ringing. If a call is assigned to multiple agents and triggers ringing after entering the queue each time, it is counted as one. |
0 |
| MaxDialingTime |
integer |
The maximum dialing time in seconds. |
12 |
| MaxHoldTime |
integer |
The maximum hold time, in seconds. |
0 |
| MaxRingTime |
integer |
The maximum ring time, in seconds. |
0 |
| MaxTalkTime |
integer |
The maximum talk time, in seconds. |
0 |
| MaxWorkTime |
integer |
The maximum after-call work time, in seconds. |
0 |
| SatisfactionIndex |
number |
The satisfaction index, which is the average value of the satisfaction rating digits. |
0 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings / Number of satisfaction survey responses. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction surveys responded to. |
0 |
| TotalDialingTime |
integer |
The total dialing time in seconds. |
218 |
| TotalHoldTime |
integer |
The total hold time, in seconds. |
0 |
| TotalRingTime |
integer |
The total ring time, in seconds. |
0 |
| TotalTalkTime |
integer |
The total talk time, in seconds. |
3 |
| TotalWorkTime |
integer |
The total after-call work time, in seconds. |
9 |
| Overall |
object |
The overall metrics. |
|
| AverageBreakTime |
number |
The average break time in seconds. Formula: TotalBreakTime/Number of breaks. The number of breaks is not a statistical field returned by the API. |
0 |
| AverageHoldTime |
number |
The average hold time in seconds. Formula: TotalHoldTime/(Inbound CallsHold + Outbound CallsHold). |
0 |
| AverageReadyTime |
number |
The average ready time in seconds. Formula: TotalReadyTime/Number of ready states. The number of ready states is not a statistical field returned by the API. |
0 |
| AverageTalkTime |
number |
The average talk time in seconds. Formula: TotalTalkTime/(CallsAnswered + CallsHandled). |
0 |
| AverageWorkTime |
number |
The average after-call work time in seconds. Formula: TotalWorkTime/TotalCalls. |
8 |
| BreakCodeDetailList |
array<object> |
The list of break details. |
|
|
object |
The break details. |
||
| BreakCode |
string |
The break type code. |
Meeting |
| Count |
integer |
The number of occurrences of this break type. |
2 |
| Duration |
integer |
The total duration of this break type in seconds. |
3600 |
| MaxBreakTime |
integer |
The maximum break time in seconds. |
1 |
| MaxHoldTime |
integer |
The maximum hold time, in seconds. |
0 |
| MaxReadyTime |
integer |
The maximum ready time in seconds. |
19328 |
| MaxTalkTime |
integer |
The maximum talk time, in seconds. |
0 |
| MaxWorkTime |
integer |
The maximum after-call work time, in seconds. |
12 |
| OccupancyRate |
number |
The agent occupancy rate. Formula: (TotalWorkTime + TotalTalkTime) / TotalLoggedInTime. |
0.02332222293912065 |
| SatisfactionIndex |
number |
The satisfaction index, which is the average value of the satisfaction rating digits. |
0 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings / Number of satisfaction survey responses. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction surveys responded to. |
0 |
| TotalBreakTime |
integer |
The total break time in seconds. |
3 |
| TotalCalls |
integer |
The total number of calls. Formula: CallsOffered + CallsDialed. |
13 |
| TotalHoldTime |
integer |
The total hold time in seconds. |
0 |
| TotalLoggedInTime |
integer |
The total logged-in time in seconds. Note: Excludes offline and break time. |
23218 |
| TotalReadyTime |
integer |
The total ready time in seconds. |
22428 |
| TotalTalkTime |
integer |
The total talk time, in seconds. |
449 |
| TotalWorkTime |
integer |
The total after-call work time, in seconds. |
94 |
| SkillGroupId |
string |
The skill group ID. |
skillgroup@ccc-test |
| SkillGroupName |
string |
The skill group name. |
skillgroup |
| PageNumber |
integer |
The page number. Valid values: 1 to 100. |
1 |
| PageSize |
integer |
The number of entries per page. Valid values: 1 to 100. |
100 |
| TotalCount |
integer |
The total count. |
4 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
26A34338-5CD9-4C95-A7A6-5BDCE76C6B94 |
Examples
Success response
JSON format
{
"Code": "OK",
"Data": {
"List": [
{
"Back2Back": {
"AgentHandleRate": 1,
"AnswerRate": 0.6,
"AverageCustomerRingTime": 100,
"AverageRingTime": 100,
"AverageTalkTime": 100,
"CallsAnswered": 100,
"CallsCustomerAnswered": 8,
"CallsDialed": 100,
"CustomerAnswerRate": 0.8,
"MaxCustomerRingTime": 100,
"MaxRingTime": 100,
"MaxTalkTime": 100,
"TotalCustomerRingTime": 100,
"TotalRingTime": 100,
"TotalTalkTime": 100
},
"Inbound": {
"AbandonRate": 0,
"AccessChannelTypeDetails": [
{
"AccessChannelType": "Web",
"CallsOffered": 2
}
],
"AverageAbandonTime": 0,
"AverageAbandonedInQueueTime": 0,
"AverageAbandonedInRingTime": 0,
"AverageFirstResponseTime": 6,
"AverageHoldTime": 0,
"AverageResponseTime": 8,
"AverageRingTime": 5,
"AverageTalkTime": 64,
"AverageWaitTime": 5,
"AverageWorkTime": 13,
"CallsAbandoned": 0,
"CallsAbandonedInQueue": 0,
"CallsAbandonedInRing": 0,
"CallsAttendedTransferIn": 0,
"CallsAttendedTransferOut": 0,
"CallsBlindTransferIn": 0,
"CallsBlindTransferOut": 0,
"CallsHandled": 7,
"CallsHold": 0,
"CallsOffered": 7,
"CallsOverflow": 0,
"CallsQueued": 7,
"CallsQueuingFailed": 0,
"CallsQueuingOverflow": 0,
"CallsQueuingTimeout": 0,
"CallsRinged": 7,
"CallsTimeout": 0,
"HandleRate": 1,
"MaxAbandonTime": 0,
"MaxAbandonedInQueueTime": 0,
"MaxAbandonedInRingTime": 0,
"MaxHoldTime": 0,
"MaxRingTime": 12,
"MaxTalkTime": 0,
"MaxWaitTime": 13,
"MaxWorkTime": 12,
"SatisfactionIndex": 0,
"SatisfactionRate": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"ServiceLevel15": 0.7,
"ServiceLevel20": 0,
"ServiceLevel30": 0.9,
"TotalAbandonTime": 0,
"TotalAbandonedInQueueTime": 0,
"TotalAbandonedInRingTime": 0,
"TotalHoldTime": 0,
"TotalMessagesSent": 12,
"TotalMessagesSentByAgent": 9,
"TotalMessagesSentByCustomer": 3,
"TotalRingTime": 32,
"TotalTalkTime": 447,
"TotalWaitTime": 34,
"TotalWorkTime": 85
},
"Outbound": {
"AnswerRate": 0,
"AverageDialingTime": 37,
"AverageHoldTime": 0,
"AverageRingTime": 0,
"AverageTalkTime": 3,
"AverageWorkTime": 2,
"CallsAnswered": 1,
"CallsAttendedTransferIn": 0,
"CallsAttendedTransferOut": 0,
"CallsBlindTransferIn": 0,
"CallsBlindTransferOut": 0,
"CallsDialed": 6,
"CallsHold": 0,
"CallsRinged": 0,
"MaxDialingTime": 12,
"MaxHoldTime": 0,
"MaxRingTime": 0,
"MaxTalkTime": 0,
"MaxWorkTime": 0,
"SatisfactionIndex": 0,
"SatisfactionRate": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"TotalDialingTime": 218,
"TotalHoldTime": 0,
"TotalRingTime": 0,
"TotalTalkTime": 3,
"TotalWorkTime": 9
},
"Overall": {
"AverageBreakTime": 0,
"AverageHoldTime": 0,
"AverageReadyTime": 0,
"AverageTalkTime": 0,
"AverageWorkTime": 8,
"BreakCodeDetailList": [
{
"BreakCode": "会议",
"Count": 2,
"Duration": 3600
}
],
"MaxBreakTime": 1,
"MaxHoldTime": 0,
"MaxReadyTime": 19328,
"MaxTalkTime": 0,
"MaxWorkTime": 12,
"OccupancyRate": 0.02332222293912065,
"SatisfactionIndex": 0,
"SatisfactionRate": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"TotalBreakTime": 3,
"TotalCalls": 13,
"TotalHoldTime": 0,
"TotalLoggedInTime": 23218,
"TotalReadyTime": 22428,
"TotalTalkTime": 449,
"TotalWorkTime": 94
},
"SkillGroupId": "skillgroup@ccc-test",
"SkillGroupName": "skillgroup"
}
],
"PageNumber": 1,
"PageSize": 100,
"TotalCount": 4
},
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "26A34338-5CD9-4C95-A7A6-5BDCE76C6B94"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Format | The format of parameter %s is invalid. %s | The format of the parameter is invalid. |
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
| 500 | InternalService.Common | An internal service error occurred. %s | An internal service error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.