ListIntervalSkillGroupReport
Queries the interval statistical report for a specified skill group in a specified instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SkillGroupId |
string |
Yes |
The ID of the skill group. |
skg-default@ccc-test |
| InstanceId |
string |
Yes |
The instance ID. |
ccc-test |
| StartTime |
integer |
No |
The start time. Format: UNIX timestamp. Unit: milliseconds. This parameter is optional. Default value: 00:00:00 of the current day. The statistical time precision is in hours. The time is rounded down to the nearest hour, and the interval is closed. |
1604639129000 |
| EndTime |
integer |
No |
The end time. Format: UNIX timestamp. Unit: milliseconds. This parameter is optional. Default value: the current time. If Interval is set to Daily, the maximum interval between StartTime and EndTime is 180 days. If Interval is set to Hourly, the maximum interval is 10 days. The statistical time precision is in hours. The 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. |
1604725528000 |
| Interval |
string |
No |
The type of interval statistics. Default value: Daily, which indicates daily aggregation. Valid values:
|
Hourly |
| MediaType |
string |
No |
The media type. Default value: Audio. Other valid values include Chat and Video. |
VIDEO |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID. |
943D8EF3-3321-471F-A104-51C96FCA94D6 |
| Data |
array<object> |
The list of segmented statistics for skill groups. |
|
|
array<object> |
The segmented statistics for a skill group. |
||
| StatsTime |
integer |
The start time of the time period. The value is a UNIX timestamp in milliseconds. |
1604639129000 |
| Inbound |
object |
The inbound metrics. |
|
| AverageRingTime |
number |
The average ring time in seconds. Calculation formula: TotalRingTime/CallsRinged. |
11 |
| CallsOverflow |
integer |
The number of overflow calls, which indicates the number of calls that overflow from the queue or skill group. If a call enters the same queue multiple times, each overflow is counted as one. |
0 |
| CallsAbandonedInRing |
integer |
The number of calls abandoned during ringing, which indicates the number of calls hung up by customers while agents are ringing. |
0 |
| CallsHandled |
integer |
The number of handled calls, which indicates the number of times calls are answered by agents. If a call is answered by multiple agents after entering the queue, it is counted as one. |
2 |
| TotalWorkTime |
integer |
The total after-call work time in seconds. |
23 |
| TotalAbandonedInRingTime |
integer |
The total time of calls abandoned during ringing in seconds. |
0 |
| MaxWorkTime |
integer |
The maximum after-call work time in seconds. |
19 |
| CallsAttendedTransferOut |
integer |
The number of outbound attended transfers, which indicates 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 |
| AverageWaitTime |
number |
The average wait time, which indicates the average time a call waits before being answered by an agent. Calculation formula: TotalWaitTime/CallsHandled. |
11 |
| TotalHoldTime |
integer |
The total hold time in seconds. |
0 |
| MaxAbandonTime |
integer |
The maximum abandon time in seconds. |
0 |
| AverageWorkTime |
number |
The average after-call work time in seconds. Calculation formula: TotalWorkTime/CallsHandled. |
8 |
| CallsQueued |
integer |
The number of inbound calls that enter the queue or skill group. If a call enters the same queue multiple times, each entry is counted as one. |
3 |
| CallsBlindTransferIn |
integer |
The number of inbound blind transfers, which indicates the number of calls transferred from other skill groups to this skill group 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 statistics are attributed to the first skill group the agent signed in to. If a call is transferred from other skill groups to this skill group multiple times, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| SatisfactionIndex |
number |
The satisfaction index, which indicates the average value of the satisfaction rating digits. |
0 |
| AverageAbandonedInRingTime |
number |
The average time of calls abandoned during ringing in seconds. Calculation formula: TotalAbandonedInRingTime/CallsAbandonedInRing. |
0 |
| AverageAbandonTime |
number |
The average abandon time in seconds. Calculation formula: TotalAbandonTime/CallsAbandoned. |
0 |
| CallsRinged |
integer |
The number of calls that ring on agents. If a call is assigned to multiple agents and rings after entering the queue, it is counted as one. |
3 |
| CallsBlindTransferOut |
integer |
The number of outbound blind transfers, which indicates 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 |
| CallsAttendedTransferIn |
integer |
The number of inbound attended transfers, which indicates the number of calls transferred from other skill groups to this skill group 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 statistics are attributed to the first skill group the agent signed in to. If a call is transferred from other skill groups to this skill group multiple times, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsAbandoned |
integer |
The number of abandoned calls. Calculation formula: CallsAbandonedInQueue+CallsAbandonedInRing. |
0 |
| MaxAbandonedInQueueTime |
integer |
The maximum time of calls abandoned in the queue in seconds. |
0 |
| TotalWaitTime |
integer |
The total wait time in seconds. |
33 |
| TotalRingTime |
integer |
The total ring time in seconds. |
33 |
| MaxTalkTime |
integer |
The maximum talk time in seconds. |
6 |
| MaxRingTime |
integer |
The maximum ring time in seconds. |
18 |
| AbandonRate |
number |
The abandon rate. Calculation formula: CallsAbandoned/CallsOffered. The result may be greater than 100% in some cases because abandon events and offer events may fall into different time periods. |
0 |
| TotalTalkTime |
integer |
The total talk time in seconds. |
9 |
| TotalAbandonTime |
integer |
The total abandon time in seconds. |
0 |
| CallsOffered |
integer |
The number of offered calls, which indicates the number of calls assigned to this skill group, including calls assigned through the queue and calls assigned through transfers (attended and blind transfers). Calculation formula: CallsQueued+CallsBlindTransferIn+CallsAttentandedTransferIn. |
3 |
| MaxAbandonedInRingTime |
integer |
The maximum time of calls abandoned during ringing in seconds. |
0 |
| MaxWaitTime |
integer |
The maximum wait time in seconds. |
18 |
| AverageAbandonedInQueueTime |
number |
The average time of calls abandoned in the queue in seconds. Calculation formula: TotalAbandonedInQueueTime/CallsAbandonedInQueue. |
0 |
| ServiceLevel20 |
number |
The 20-second service level, which is calculated as the number of calls with a wait time of less than or equal to 20 seconds divided by CallsQueued. |
0 |
| MaxHoldTime |
integer |
The maximum hold time in seconds. |
0 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings/Number of satisfaction survey responses. |
0 |
| AverageTalkTime |
number |
The average talk time in seconds. Calculation formula: TotalTalkTime/CallsHandled. |
5 |
| CallsHold |
integer |
The number of held calls, which indicates the number of times calls are placed on hold. If a call is placed on hold multiple times after entering the queue, it is counted as one. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| HandleRate |
number |
The handle rate. Calculation formula: CallsHandled/CallsOffered. The result may be greater than 100% in some cases because handle events and offer events may fall into different time periods. |
0.6666666666666666 |
| CallsTimeout |
integer |
The number of timed-out calls, which indicates the number of calls that time out in the queue or skill group. If a call enters the same queue multiple times, each timeout is counted as one. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction survey responses. |
0 |
| AverageHoldTime |
number |
The average hold time in seconds. Calculation formula: TotalHoldTime/CallsHold. |
0 |
| TotalAbandonedInQueueTime |
integer |
The total time of calls abandoned in the queue in seconds. |
0 |
| CallsAbandonedInQueue |
integer |
The number of calls abandoned in the queue, which indicates 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 indicates the calls that overflow while queuing in the IVR. |
0 |
| CallsQueuingTimeout |
integer |
The number of calls that time out during the queuing phase. |
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. |
7 |
| TotalMessagesSentByCustomer |
integer |
The total number of messages sent by customers in chat sessions. |
5 |
| AverageFirstResponseTime |
number |
The average first response time in chat sessions in seconds. |
6 |
| AverageResponseTime |
number |
The average response time in chat sessions. |
18 |
| Outbound |
object |
The outbound metrics. |
|
| AverageRingTime |
number |
The average ring time in seconds. Calculation formula: TotalRingTime/CallsRinged. |
0 |
| CallsDialed |
integer |
The number of dialed calls. |
2 |
| CallsAnswered |
integer |
The number of answered calls. |
1 |
| TotalWorkTime |
integer |
The total after-call work time in seconds. |
5 |
| CallsAttendedTransferOut |
integer |
The number of outbound attended transfers, which indicates 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 |
| MaxWorkTime |
integer |
The maximum after-call work time in seconds. |
4 |
| TotalDialingTime |
integer |
The total dialing time in seconds. |
60 |
| TotalHoldTime |
integer |
The total hold time in seconds. |
0 |
| AverageWorkTime |
number |
The average after-call work time in seconds. Calculation formula: TotalWorkTime/CallsDialed. |
3 |
| CallsBlindTransferIn |
integer |
The number of inbound blind transfers, which indicates the number of calls transferred from other skill groups to this skill group 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 statistics are attributed to the first skill group the agent signed in to. If a call is transferred from other skill groups to this skill group multiple times, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| SatisfactionIndex |
number |
The satisfaction index, which indicates the average value of the satisfaction rating digits. |
0 |
| CallsRinged |
integer |
The number of calls that ring on agents. If a call is assigned to multiple agents and rings after entering the queue, it is counted as one. |
0 |
| CallsAttendedTransferIn |
integer |
The number of inbound attended transfers, which indicates the number of calls transferred from other skill groups to this skill group 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 statistics are attributed to the first skill group the agent signed in to. If a call is transferred from other skill groups to this skill group multiple times, each transfer is counted as one. The same rule applies to similar metrics below. |
0 |
| CallsBlindTransferOut |
integer |
The number of outbound blind transfers, which indicates 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 |
| TotalRingTime |
integer |
The total ring time in seconds. |
0 |
| MaxTalkTime |
integer |
The maximum talk time in seconds. |
5 |
| MaxRingTime |
integer |
The maximum ring time in seconds. |
0 |
| TotalTalkTime |
integer |
The total talk time in seconds. |
5 |
| MaxDialingTime |
integer |
The maximum dialing duration, in seconds. |
49 |
| AnswerRate |
number |
The answer rate. The calculation formula is CallsAnswered/CallsDialed. The result may exceed 100% in some cases because answer events and pick-up events may fall into different time ranges. |
0 |
| MaxHoldTime |
integer |
The maximum hold time in seconds. |
0 |
| AverageTalkTime |
number |
The average talk time, in seconds. The calculation formula is TotalTalkTime/CallsAnswered. |
5 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings/Number of satisfaction survey responses. |
0 |
| CallsHold |
integer |
The number of held calls. If a call is placed on hold multiple times before being transferred out of the current skill group, it is counted as one held call. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction survey responses. |
0 |
| AverageHoldTime |
number |
The average hold time in seconds. Calculation formula: TotalHoldTime/CallsHold. |
0 |
| AverageDialingTime |
number |
The average dialing duration, in seconds. The calculation formula is TotalDialingTime/CallsDialed. |
30 |
| Overall |
object |
The overall metrics. |
|
| TotalTalkTime |
integer |
The total talk time in seconds. |
13 |
| TotalLoggedInTime |
integer |
The total logged-in duration, in seconds. |
9236 |
| OccupancyRate |
number |
The agent occupancy rate. The calculation formula is (TotalWorkTime + TotalTalkTime) / TotalLoggedInTime. |
0.00422315148470254 |
| TotalWorkTime |
integer |
The total after-call work time in seconds. |
27 |
| MaxHoldTime |
integer |
The maximum hold time in seconds. |
0 |
| MaxWorkTime |
integer |
The maximum after-call work time in seconds. |
19 |
| AverageBreakTime |
number |
The average break duration, in seconds. The calculation formula is TotalBreakTime/BreakCount. The number of breaks is not an API statistical field. |
0 |
| TotalHoldTime |
integer |
The total hold duration, in seconds. |
0 |
| SatisfactionRate |
number |
The satisfaction rate. Calculation formula: Number of satisfied ratings/Number of satisfaction survey responses. |
0 |
| MaxBreakTime |
integer |
The maximum break duration, in seconds. |
1 |
| AverageWorkTime |
number |
The average after-call work duration, in seconds. The calculation formula is TotalWorkTime/TotalCalls. |
6 |
| AverageTalkTime |
number |
The average talk time, in seconds. The calculation formula is TotalTalkTime/(CallsAnswered + CallsHandled). |
0 |
| SatisfactionIndex |
number |
The satisfaction index, which indicates the average value of the satisfaction rating digits. |
0 |
| SatisfactionSurveysOffered |
integer |
The number of satisfaction surveys offered. |
0 |
| SatisfactionSurveysResponded |
integer |
The number of satisfaction survey responses. |
0 |
| MaxReadyTime |
integer |
The maximum ready duration, in seconds. |
4927 |
| AverageReadyTime |
number |
The average ready duration, in seconds. The calculation formula is TotalReadyTime/ReadyCount. The number of ready states is not an API statistical field. |
0 |
| AverageHoldTime |
number |
The average hold duration, in seconds. The calculation formula is TotalHoldTime/(Inbound CallsHold + Outbound CallsHold). |
0 |
| TotalReadyTime |
integer |
The total ready duration, in seconds. |
9106 |
| TotalBreakTime |
integer |
The total break duration, in seconds. |
5 |
| MaxTalkTime |
integer |
The maximum talk time in seconds. |
6 |
| TotalCalls |
integer |
The total number of calls. The calculation formula is CallsOffered + CallsDialed. |
5 |
| BreakCodeDetailList |
array<object> |
The break statistics by type. |
|
|
object |
The break statistics. |
||
| BreakCode |
string |
The break type code. |
Meeting |
| Count |
integer |
The number of breaks of this type. |
1 |
| Duration |
integer |
The total duration of breaks of this type, in seconds. |
120 |
| Back2Back |
object |
The back-to-back call metrics. |
|
| MaxRingTime |
integer |
The maximum ring time in seconds. |
100 |
| AverageCustomerRingTime |
number |
The average customer-side ringing duration, in seconds. |
100 |
| CallsCustomerAnswered |
integer |
The number of calls answered by customers. |
12 |
| CustomerAnswerRate |
number |
The customer answer rate. |
0.6 |
| TotalRingTime |
integer |
The total ring time in seconds. |
100 |
| CallsDialed |
integer |
The number of dialed calls. |
100 |
| CallsAnswered |
integer |
The number of answered calls. |
100 |
| TotalTalkTime |
integer |
The total talk time in seconds. |
100 |
| AverageRingTime |
number |
The average ringing duration, in seconds. |
100 |
| MaxCustomerRingTime |
integer |
The maximum customer-side ringing duration, in seconds. |
100 |
| TotalCustomerRingTime |
integer |
The total customer-side ringing duration, in seconds. |
100 |
| AgentHandleRate |
number |
The agent answer rate. |
1 |
| MaxTalkTime |
string |
The maximum talk time in seconds. |
100 |
| AnswerRate |
string |
The answer rate. The calculation formula is CallsAnswered/CallsDialed. The result may exceed 100% in some cases because answer events and pick-up events may fall into different time ranges. |
0.5 |
| AverageTalkTime |
string |
The average talk time, in seconds. |
100 |
| CallsAgentHandled |
integer |
The number of calls answered by agents. |
5 |
Examples
Success response
JSON format
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "943D8EF3-3321-471F-A104-51C96FCA94D6",
"Data": [
{
"StatsTime": 1604639129000,
"Inbound": {
"AverageRingTime": 11,
"CallsOverflow": 0,
"CallsAbandonedInRing": 0,
"CallsHandled": 2,
"TotalWorkTime": 23,
"TotalAbandonedInRingTime": 0,
"MaxWorkTime": 19,
"CallsAttendedTransferOut": 0,
"AverageWaitTime": 11,
"TotalHoldTime": 0,
"MaxAbandonTime": 0,
"AverageWorkTime": 8,
"CallsQueued": 3,
"CallsBlindTransferIn": 0,
"SatisfactionIndex": 0,
"AverageAbandonedInRingTime": 0,
"AverageAbandonTime": 0,
"CallsRinged": 3,
"CallsBlindTransferOut": 0,
"CallsAttendedTransferIn": 0,
"CallsAbandoned": 0,
"MaxAbandonedInQueueTime": 0,
"TotalWaitTime": 33,
"TotalRingTime": 33,
"MaxTalkTime": 6,
"MaxRingTime": 18,
"AbandonRate": 0,
"TotalTalkTime": 9,
"TotalAbandonTime": 0,
"CallsOffered": 3,
"MaxAbandonedInRingTime": 0,
"MaxWaitTime": 18,
"AverageAbandonedInQueueTime": 0,
"ServiceLevel20": 0,
"MaxHoldTime": 0,
"SatisfactionRate": 0,
"AverageTalkTime": 5,
"CallsHold": 0,
"SatisfactionSurveysOffered": 0,
"HandleRate": 0.6666666666666666,
"CallsTimeout": 0,
"SatisfactionSurveysResponded": 0,
"AverageHoldTime": 0,
"TotalAbandonedInQueueTime": 0,
"CallsAbandonedInQueue": 0,
"CallsQueuingOverflow": 0,
"CallsQueuingTimeout": 0,
"TotalMessagesSent": 12,
"TotalMessagesSentByAgent": 7,
"TotalMessagesSentByCustomer": 5,
"AverageFirstResponseTime": 6,
"AverageResponseTime": 18
},
"Outbound": {
"AverageRingTime": 0,
"CallsDialed": 2,
"CallsAnswered": 1,
"TotalWorkTime": 5,
"CallsAttendedTransferOut": 0,
"MaxWorkTime": 4,
"TotalDialingTime": 60,
"TotalHoldTime": 0,
"AverageWorkTime": 3,
"CallsBlindTransferIn": 0,
"SatisfactionIndex": 0,
"CallsRinged": 0,
"CallsAttendedTransferIn": 0,
"CallsBlindTransferOut": 0,
"TotalRingTime": 0,
"MaxTalkTime": 5,
"MaxRingTime": 0,
"TotalTalkTime": 5,
"MaxDialingTime": 49,
"AnswerRate": 0,
"MaxHoldTime": 0,
"AverageTalkTime": 5,
"SatisfactionRate": 0,
"CallsHold": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"AverageHoldTime": 0,
"AverageDialingTime": 30
},
"Overall": {
"TotalTalkTime": 13,
"TotalLoggedInTime": 9236,
"OccupancyRate": 0.00422315148470254,
"TotalWorkTime": 27,
"MaxHoldTime": 0,
"MaxWorkTime": 19,
"AverageBreakTime": 0,
"TotalHoldTime": 0,
"SatisfactionRate": 0,
"MaxBreakTime": 1,
"AverageWorkTime": 6,
"AverageTalkTime": 0,
"SatisfactionIndex": 0,
"SatisfactionSurveysOffered": 0,
"SatisfactionSurveysResponded": 0,
"MaxReadyTime": 4927,
"AverageReadyTime": 0,
"AverageHoldTime": 0,
"TotalReadyTime": 9106,
"TotalBreakTime": 5,
"MaxTalkTime": 6,
"TotalCalls": 5,
"BreakCodeDetailList": [
{
"BreakCode": "会议",
"Count": 1,
"Duration": 120
}
]
},
"Back2Back": {
"MaxRingTime": 100,
"AverageCustomerRingTime": 100,
"CallsCustomerAnswered": 12,
"CustomerAnswerRate": 0.6,
"TotalRingTime": 100,
"CallsDialed": 100,
"CallsAnswered": 100,
"TotalTalkTime": 100,
"AverageRingTime": 100,
"MaxCustomerRingTime": 100,
"TotalCustomerRingTime": 100,
"AgentHandleRate": 1,
"MaxTalkTime": "100",
"AnswerRate": "0.5",
"AverageTalkTime": "100",
"CallsAgentHandled": 5
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Parameter.Blank | The parameter %s may not be null or blank. | The parameter cannot be null or a string that contains whitespace characters. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.