Queries usage statistics by tag ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dytns:QueryUsageStatisticsByTagId |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BeginTime |
string |
No |
The start time of the query. |
20230308 |
| EndTime |
string |
No |
The end time of the query. |
20230406 |
| TagId |
integer |
No |
The tag ID. |
89 |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D45CC751-34DF-5797-81FB-9A2ED6DC024B |
| Message |
string |
The description of the status code. |
OK |
| Data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| AuthorizationCode |
string |
The authorization code. |
g61I8UV5zd |
| SuccessTotal |
integer |
The number of successful queries. |
93 |
| FailTotal |
integer |
The number of failed queries. |
71 |
| TagName |
string |
The tag name. |
阿里云查询 |
| SceneName |
string |
The scenario name. |
电话回访1 |
| Total |
integer |
The total number of queries. |
41 |
| TagId |
integer |
The tag ID. |
69 |
| PartnerId |
integer |
The customer's PID. |
10000013****071 |
| Id |
integer |
The ID of the usage record for the authorization code. |
4d32c9ef-c8b0-4d69-a437-cca5****185d |
| GmtDateStr |
string |
The time when the record was created. |
20230312 |
| IndustryName |
string |
The industry name. |
家政安保 |
| Code |
string |
The status code of the request. A value of OK indicates that the request was successful. |
OK |
| Success |
boolean |
Indicates whether the call was successful.
|
true |
Examples
Success response
JSON format
{
"RequestId": "D45CC751-34DF-5797-81FB-9A2ED6DC024B",
"Message": "OK",
"Data": [
{
"AuthorizationCode": "g61I8UV5zd",
"SuccessTotal": 93,
"FailTotal": 71,
"TagName": "阿里云查询",
"SceneName": "电话回访1",
"Total": 41,
"TagId": 69,
"PartnerId": 0,
"Id": 0,
"GmtDateStr": "20230312",
"IndustryName": "家政安保"
}
],
"Code": "OK",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | AuthCodeIllegal | Illegal authCode. | |
| 500 | InternalError | A system error occurred. | |
| 500 | RequestTimeout | Request supplier timed out. | Request supplier timeout |
| 500 | RequestSupplierError | Request supplier error. | Request supplier error. |
See for a complete list.
Release notes
See Release Notes for a complete list.