Domain name for API request: ccc.intl.tencentcloudapi.com.
This API is used to access the inbound real-time data statistical metrics.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeCallInMetrics. |
Version | Yes | String | Common Params. The value used for this API: 2020-02-10. |
Region | No | String | Common Params. This parameter is not required. |
SdkAppId | Yes | Integer | Application ID (required) can be found at https://console.tencentcloud.com/ccc. |
EnabledSkillGroup | No | Boolean | Whether to return skill group dimension information or not (the default is "Yes"). |
EnabledNumber | No | Boolean | Whether to return line dimension information or not (the default is "No"). |
GroupIdList.N | No | Array of Integer | Filter skill group list. |
Parameter Name | Type | Description |
---|---|---|
Timestamp | Integer | Timestamp. |
TotalMetrics | CallInMetrics | Overall metrics. |
NumberMetrics | Array of CallInNumberMetrics | Circuit dimension metrics. Note: this field may return null, indicating that no valid values can be obtained. |
SkillGroupMetrics | Array of CallInSkillGroupMetrics | Skill group dimension metrics Note: this field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to access inbound real-time data statistical metrics.
POST / HTTP/1.1
Host: ccc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCallInMetrics
<Common request parameters>
{
"EnabledNumber": true,
"EnabledSkillGroup": true,
"SdkAppId": 0
}
{
"Response": {
"Timestamp": 0,
"TotalMetrics": {
"IvrCount": 0,
"QueueCount": 0,
"RingCount": 0,
"AcceptCount": 0,
"TransferOuterCount": 0,
"MaxQueueDuration": 0,
"AvgQueueDuration": 0,
"MaxRingDuration": 0,
"AvgRingDuration": 0,
"MaxAcceptDuration": 0,
"AvgAcceptDuration": 0
},
"NumberMetrics": [
{
"Number": "0218888888",
"Metrics": {
"IvrCount": 0,
"QueueCount": 0,
"RingCount": 0,
"AcceptCount": 0,
"TransferOuterCount": 0,
"MaxQueueDuration": 0,
"AvgQueueDuration": 0,
"MaxRingDuration": 0,
"AvgRingDuration": 0,
"MaxAcceptDuration": 0,
"AvgAcceptDuration": 0
},
"SkillGroupMetrics": [
{
"SkillGroupId": 0,
"Metrics": {
"IvrCount": 0,
"QueueCount": 0,
"RingCount": 0,
"AcceptCount": 0,
"TransferOuterCount": 0,
"MaxQueueDuration": 0,
"AvgQueueDuration": 0,
"MaxRingDuration": 0,
"AvgRingDuration": 0,
"MaxAcceptDuration": 0,
"AvgAcceptDuration": 0
},
"Name": "客服一组"
}
]
}
],
"SkillGroupMetrics": [
{
"SkillGroupId": 0,
"Name": "abc"
}
],
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | An internal error occurs. |
InternalError.DBError | Internal database access failure. |
InvalidParameter | Parameter error. |
InvalidParameter.InstanceNotExist | The instance does not exist. |
InvalidParameterValue.InstanceNotExist | The instance does not exist. |
本页内容是否解决了您的问题?