Domain name for API request: tcsas.intl.tencentcloudapi.com.
This API is used to retrieve line chart analysis data for mini game visits.
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: DescribeMNGAccessAnalysisLineChart. |
| Version | Yes | String | Common Params. The value used for this API: 2025-01-06. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| MNPId | Yes | String | Mini program appid |
| PlatformId | Yes | String | Tenant ID |
| ReportId | Yes | String | Fixed value: mnp_data_analysis |
| IndexId | Yes | String | IndexId (optional): active_device_num: Number of active users new_device_num: Number of new users total_user_num: Total number of users share_num: Number of shares miniapp_open_num: Number of mini game opens avg_device_open_num: Average opens per user avg_device_open_duration: Average visit duration per user avg_count_open_duration: Average visit duration per session |
| QueryData | Yes | String | Input parameter base64 string: {"DataType":"1","Platform":0,"BeginDate":20251118,"EndDate":20251124} |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of ReportDataResult | Data display 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. |
POST / HTTP/1.1
Host: tcsas.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMNGAccessAnalysisLineChart
<Common request parameters>
{
"MNPId": "mge6a1crlvjiul0v",
"PlatformId": "T04398WY9481762VZTT",
"ReportId": "mnp_data_analysis",
"IndexId": "active_device_num",
"QueryData": "eyJEYXRhVHlwZSI6IjEiLCJQbGF0Zm9ybSI6MCwiQmVnaW5EYXRlIjoyMDI1MTEyNCwiRW5kRGF0ZSI6MjAyNTExMzB9"
}{
"Response": {
"Data": [
{
"DataResult": "W1siMjAyNTExMjQiLCI0MSJdLFsiMjAyNTExMjUiLCI0MSJdLFsiMjAyNTExMjYiLCIzNiJdLFsiMjAyNTExMjciLCI2Il0sWyIyMDI1MTEyOCIsIjI2Il0sWyIyMDI1MTEyOSIsIjMiXSxbIjIwMjUxMTMwIiwiNCJdXQ==",
"ExecSql": "",
"ExecTime": 0,
"IndexId": "active_device_num"
}
],
"RequestId": "ba03fb52-a0ce-4bab-b102-2bbf3207ffa6"
}
}
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 |
|---|---|
| FailedOperation.NoAccessPermission | FailedOperation.NoAccessPermission |
| FailedOperation.RecordNotFound | FailedOperation.RecordNotFound |
| FailedOperation.UserNotFound | FailedOperation.UserNotFound |
| InvalidParameter | Incorrect parameter. |
| InvalidParameterValue | Invalid parameter value. |
| MissingParameter.LoginInfoNotFound | MissingParameter.LoginInfoNotFound |
Feedback