ListIntervalInstanceReport

Updated at:

Retrieves the interval statistical reports for a specified instance.

Operation description

Retrieves the interval statistical reports for a specified instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

StartTime

integer

No

The start time in UNIX timestamp format, measured in 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 start time is inclusive.

1620230400000

EndTime

integer

No

The end time in UNIX timestamp format, measured in 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 end time is exclusive. 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.

1620316799000

Interval

string

No

The type of interval statistics. This parameter is optional. Default value: Daily, which indicates daily aggregation.

Valid values:

  • Hourly :

    Hourly statistics.

  • Daily :

    Daily statistics.

Hourly

Response elements

Element

Type

Description

Example

object

The response data.

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 the instance.

array<object>

The segmented statistics for the instance.

StatsTime

integer

The start time in the format of a UNIX timestamp. Unit: milliseconds.

1620230400000

Inbound

object

The inbound metrics.

AverageRingTime

number

The average ring time. Unit: seconds. Formula: TotalRingTime/CallsRinged.

5

CallsVoicemail

integer

The number of calls routed to voice mail.

0

MaxAbandonedInIVRTime

integer

The maximum IVR abandon time. Unit: seconds.

0

CallsHandled

integer

The number of handled calls, which is the number of calls answered by agents. If a call is answered by multiple agents, it is counted as one.

7

CallsIVRException

integer

The number of calls with IVR exceptions. An exception occurs when the IVR enters a hang-up cause node and the hang-up cause is set to transfer to agent failure. In this case, the count increases by 1.

0

CallsAbandonedInIVR

integer

The number of calls abandoned in the IVR, which is the number of calls hung up by customers during the IVR process after entering the IVR flow.

0

MaxWorkTime

integer

The maximum after-call work time. Unit: seconds.

17

TotalHoldTime

integer

The total hold time. Unit: seconds.

0

MaxAbandonTime

integer

The maximum abandon time. Unit: seconds.

0

AverageAbandonTime

number

The average abandon time. Unit: seconds. Formula: TotalAbandonTime/CallsAbandoned.

0

AbandonedRate

number

[Deprecated] This field is deprecated. Refer to AbandonRate.

0

CallsRinged

integer

The number of calls that rang on agent devices. If a call is assigned to multiple agents and rings, it is counted as one.

7

CallsQueuingFailed

integer

The number of queuing failures, which is the number of calls hung up by customers during the queuing process after entering the queue.

0

TotalRingTime

integer

The total ring time. Unit: seconds.

32

TotalTalkTime

integer

The total talk time. Unit: seconds.

447

MaxAbandonedInRingTime

integer

The maximum ring abandon time. Unit: seconds.

0

CallsBlindTransferred

integer

The number of blind transfers, which is the number of calls that were blind transferred. If a call is transferred multiple times, it is counted as one.

0

AverageAbandonedInIVRTime

number

The average IVR abandon time. Unit: seconds. Formula: TotalAbandonedInIVRTime/CallsAbandonedInIVR.

0

AverageAbandonedInQueueTime

number

The average queue abandon time. Unit: seconds. Formula: TotalAbandonedInQueueTime/CallsAbandonedInQueue.

0

MaxWaitTime

integer

The maximum wait time. Unit: seconds.

13

AverageTalkTime

number

The average talk time. Unit: seconds. Formula: TotalTalkTime/CallsHandled.

64

CallsAttendedTransferred

integer

The number of attended transfers, which is the number of calls that were attended transferred. If a call is transferred multiple times, it is counted as one.

0

TotalAbandonedInIVRTime

integer

The total IVR abandon time. Unit: seconds.

0

CallsQueuingOverflow

integer

The number of queue overflows, which is the number of calls that overflowed while queuing in the IVR.

0

CallsAbandonedInRing

integer

The number of calls abandoned during ringing, which is the number of calls hung up by customers while agents were ringing.

0

TotalAbandonedInRingTime

integer

The total ring abandon time. Unit: seconds.

0

TotalWorkTime

integer

The total after-call work time. Unit: seconds.

85

AverageWaitTime

number

The average wait time, which is the average time a customer waits before an agent answers the call. Formula: TotalWaitTime/CallsHandled.

5

AverageWorkTime

number

The average after-call work time. Unit: seconds. Formula: TotalWorkTime/CallsHandled.

13

CallsQueued

integer

The number of calls that entered the queue. If a call enters the queue multiple times, it is counted as one.

7

AverageAbandonedInRingTime

number

The average ring abandon time. Unit: seconds. Formula: TotalAbandonedInRingTime/CallsAbandonedInRing.

0

SatisfactionIndex

number

The satisfaction index, which is the average value of the satisfaction rating digits.

0

CallsAbandoned

integer

The number of abandoned calls. Formula: CallsAbandonedInIVR + CallsAbandonedInQueue + CallsAbandonedInRing.

0

MaxAbandonedInQueueTime

integer

The maximum queue abandon time. Unit: seconds.

0

CallsAbandonedInVoiceNavigator

integer

The number of calls abandoned in the intelligent navigation module.

0

TotalWaitTime

integer

The total wait time. Unit: seconds.

34

MaxTalkTime

integer

The maximum talk time. Unit: seconds.

219

MaxRingTime

integer

The maximum ring time. Unit: seconds.

12

TotalAbandonTime

integer

The total abandon time. Unit: seconds.

0

CallsOffered

integer

The number of inbound calls to the Cloud Call Center.

7

CallsQueuingTimeout

integer

The number of calls that timed out during the queuing phase.

0

ServiceLevel20

number

The 20-second service level, which is the number of calls with a wait time of 20 seconds or less divided by CallsQueued.

1

MaxHoldTime

integer

The maximum hold time. Unit: seconds.

0

CallsForwardToOutsideNumber

integer

The number of calls forwarded to external numbers.

0

SatisfactionRate

number

The satisfaction rate. Formula: Number of satisfied ratings / Number of satisfaction survey responses.

0

CallsHold

integer

The number of held calls, which is the number of calls placed on hold. If a call is placed on hold multiple times, it is counted as one.

0

SatisfactionSurveysOffered

integer

The number of satisfaction surveys offered.

0

HandleRate

number

The answer rate. Formula: CallsHandled/CallsOffered. The result may exceed 100% in some cases because answer events and assignment events may fall into different time ranges.

1

SatisfactionSurveysResponded

integer

The number of satisfaction survey responses.

0

AverageHoldTime

number

The average hold time. Unit: seconds. Formula: TotalHoldTime/CallsHold.

0

CallsAbandonedInQueue

integer

The number of calls abandoned in the queue, which is the number of calls hung up by customers during the queuing process after entering the queue.

0

TotalAbandonedInQueueTime

integer

The total queue abandon time. Unit: seconds.

0

AbandonRate

number

The abandon rate. Formula: CallsAbandoned/CallsOffered. The result may exceed 100% in some cases because abandon events and assignment events may fall into different time ranges.

0

CallsCausedIVRException

integer

The number of calls that caused IVR exceptions.

0

CallsToVoicemail

integer

The number of calls transferred to voice mail.

1

AverageFirstResponseTime

number

The average first response time for chat sessions. Unit: seconds.

6

AverageResponseTime

number

The average response time for chat sessions.

15

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.

8

TotalMessagesSentByCustomer

integer

The total number of messages sent by customers in chat sessions.

4

Outbound

object

The outbound metrics.

AverageRingTime

number

The average ring time. Unit: seconds. Formula: TotalRingTime/CallsRinged.

0

CallsDialed

integer

The number of dialed calls.

0

CallsAnswered

integer

The number of answered calls.

0

TotalWorkTime

integer

The total after-call work time. Unit: seconds.

0

MaxWorkTime

integer

The maximum after-call work time. Unit: seconds.

0

TotalDialingTime

integer

The total dialing time. Unit: seconds.

0

TotalHoldTime

integer

The total hold time. Unit: seconds.

0

AverageWorkTime

number

The average after-call work time. Unit: seconds. Formula: TotalWorkTime/CallsDialed.

0

SatisfactionIndex

number

The satisfaction index, which is the average value of the satisfaction rating digits.

0

CallsRinged

integer

The number of calls that rang for agents. If a call is assigned to multiple agents and ringing occurs, it is counted once.

0

TotalRingTime

integer

The total ring time. Unit: seconds.

0

MaxTalkTime

integer

The maximum talk time. Unit: seconds.

0

MaxRingTime

integer

The maximum ring time. Unit: seconds.

0

TotalTalkTime

integer

The total talk time. Unit: seconds.

0

MaxDialingTime

integer

The maximum dialing duration, in seconds.

0

CallsBlindTransferred

integer

The number of blind transfers, which is the number of calls that were blind transferred. If a call is transferred multiple times, it is counted as one.

0

AnswerRate

number

The answer rate. The calculation formula is CallsAnswered/CallsDialed. Because answer events and response events may fall in different time ranges, the result may be greater than 100% in some cases.

0

MaxHoldTime

integer

The maximum hold time. Unit: seconds.

0

AverageTalkTime

number

The average talk duration, in seconds. The calculation formula is TotalTalkTime/CallsAnswered.

0

SatisfactionRate

number

The satisfaction rate. Formula: Number of satisfied ratings / Number of satisfaction survey responses.

0

CallsAttendedTransferred

integer

The number of attended transfers, which is the number of calls that were attended transferred. If a call is transferred multiple times, it is counted as one.

0

CallsHold

integer

The number of held calls, which is the number of calls placed on hold. If a call is placed on hold multiple times, it is counted as one.

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. Unit: seconds. Formula: TotalHoldTime/CallsHold.

0

AverageDialingTime

number

The average dialing duration, in seconds. The calculation formula is TotalDialingTime/CallsDialed.

0

Overall

object

The overall metrics.

TotalTalkTime

integer

The total talk time. Unit: seconds.

0

TotalLoggedInTime

integer

The total logon duration, in seconds. This value does not include break duration.

0

OccupancyRate

number

The agent occupancy rate. The calculation formula is (TotalworkTime + TotalTalkTime) / TotalLoggedInTime.

0

TotalWorkTime

integer

The total after-call work time. Unit: seconds.

0

MaxHoldTime

integer

The maximum hold time. Unit: seconds.

0

MaxWorkTime

integer

The maximum after-call work time. Unit: seconds.

0

AverageBreakTime

number

The average break duration, in seconds. The calculation formula is TotalBreakTime/Number of breaks. The number of breaks is not a statistical field returned by the API.

0

TotalHoldTime

integer

The total hold duration, in seconds.

0

SatisfactionRate

number

The satisfaction rate. Formula: Number of satisfied ratings / Number of satisfaction survey responses.

0

MaxBreakTime

integer

The maximum break duration, in seconds.

0

AverageWorkTime

number

The average after-call work duration, in seconds. The calculation formula is TotalWorkTime/TotalCalls.

0

AverageTalkTime

number

The average talk duration, in seconds. The calculation formula is TotalTalkTime/(CallsAnswered+CallsHandled).

0

SatisfactionIndex

number

The satisfaction index, which is 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.

0

AverageReadyTime

number

The average ready duration, in seconds. The calculation formula is TotalReadyTime/Number of ready events. The number of ready events is not a statistical field returned by the API.

0

AverageHoldTime

number

The average call hold duration, in seconds. The calculation formula is TotalHoldTime/(inbound CallsHold + outbound CallsHold).

0

TotalReadyTime

integer

The total ready duration, in seconds.

0

TotalBreakTime

integer

The total break duration, in seconds.

0

MaxTalkTime

integer

The maximum talk time. Unit: seconds.

0

TotalCalls

integer

The total number of calls. The calculation formula is CallsOffered + CallsDialed.

0

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "943D8EF3-3321-471F-A104-51C96FCA94D6",
  "Data": [
    {
      "StatsTime": 1620230400000,
      "Inbound": {
        "AverageRingTime": 5,
        "CallsVoicemail": 0,
        "MaxAbandonedInIVRTime": 0,
        "CallsHandled": 7,
        "CallsIVRException": 0,
        "CallsAbandonedInIVR": 0,
        "MaxWorkTime": 17,
        "TotalHoldTime": 0,
        "MaxAbandonTime": 0,
        "AverageAbandonTime": 0,
        "AbandonedRate": 0,
        "CallsRinged": 7,
        "CallsQueuingFailed": 0,
        "TotalRingTime": 32,
        "TotalTalkTime": 447,
        "MaxAbandonedInRingTime": 0,
        "CallsBlindTransferred": 0,
        "AverageAbandonedInIVRTime": 0,
        "AverageAbandonedInQueueTime": 0,
        "MaxWaitTime": 13,
        "AverageTalkTime": 64,
        "CallsAttendedTransferred": 0,
        "TotalAbandonedInIVRTime": 0,
        "CallsQueuingOverflow": 0,
        "CallsAbandonedInRing": 0,
        "TotalAbandonedInRingTime": 0,
        "TotalWorkTime": 85,
        "AverageWaitTime": 5,
        "AverageWorkTime": 13,
        "CallsQueued": 7,
        "AverageAbandonedInRingTime": 0,
        "SatisfactionIndex": 0,
        "CallsAbandoned": 0,
        "MaxAbandonedInQueueTime": 0,
        "CallsAbandonedInVoiceNavigator": 0,
        "TotalWaitTime": 34,
        "MaxTalkTime": 219,
        "MaxRingTime": 12,
        "TotalAbandonTime": 0,
        "CallsOffered": 7,
        "CallsQueuingTimeout": 0,
        "ServiceLevel20": 1,
        "MaxHoldTime": 0,
        "CallsForwardToOutsideNumber": 0,
        "SatisfactionRate": 0,
        "CallsHold": 0,
        "SatisfactionSurveysOffered": 0,
        "HandleRate": 1,
        "SatisfactionSurveysResponded": 0,
        "AverageHoldTime": 0,
        "CallsAbandonedInQueue": 0,
        "TotalAbandonedInQueueTime": 0,
        "AbandonRate": 0,
        "CallsCausedIVRException": 0,
        "CallsToVoicemail": 1,
        "AverageFirstResponseTime": 6,
        "AverageResponseTime": 15,
        "TotalMessagesSent": 12,
        "TotalMessagesSentByAgent": 8,
        "TotalMessagesSentByCustomer": 4
      },
      "Outbound": {
        "AverageRingTime": 0,
        "CallsDialed": 0,
        "CallsAnswered": 0,
        "TotalWorkTime": 0,
        "MaxWorkTime": 0,
        "TotalDialingTime": 0,
        "TotalHoldTime": 0,
        "AverageWorkTime": 0,
        "SatisfactionIndex": 0,
        "CallsRinged": 0,
        "TotalRingTime": 0,
        "MaxTalkTime": 0,
        "MaxRingTime": 0,
        "TotalTalkTime": 0,
        "MaxDialingTime": 0,
        "CallsBlindTransferred": 0,
        "AnswerRate": 0,
        "MaxHoldTime": 0,
        "AverageTalkTime": 0,
        "SatisfactionRate": 0,
        "CallsAttendedTransferred": 0,
        "CallsHold": 0,
        "SatisfactionSurveysOffered": 0,
        "SatisfactionSurveysResponded": 0,
        "AverageHoldTime": 0,
        "AverageDialingTime": 0
      },
      "Overall": {
        "TotalTalkTime": 0,
        "TotalLoggedInTime": 0,
        "OccupancyRate": 0,
        "TotalWorkTime": 0,
        "MaxHoldTime": 0,
        "MaxWorkTime": 0,
        "AverageBreakTime": 0,
        "TotalHoldTime": 0,
        "SatisfactionRate": 0,
        "MaxBreakTime": 0,
        "AverageWorkTime": 0,
        "AverageTalkTime": 0,
        "SatisfactionIndex": 0,
        "SatisfactionSurveysOffered": 0,
        "SatisfactionSurveysResponded": 0,
        "MaxReadyTime": 0,
        "AverageReadyTime": 0,
        "AverageHoldTime": 0,
        "TotalReadyTime": 0,
        "TotalBreakTime": 0,
        "MaxTalkTime": 0,
        "TotalCalls": 0
      }
    }
  ]
}

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.