Queries the statistics on the number of phone call-based alerts or text message-based alerts reported within the tenant to which your account belongs during the previous 30 days.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| DomainCode | string | Yes | The measurement item. Valid values:
| DideAlarmPhone |
| ComponentCode | string | Yes | The metering component. Valid values:
| Count |
| StartTime | long | Yes | The start timestamp of the metering cycle, in milliseconds. The metering data is aggregated by day. The time range between EndTime and StartTime cannot exceed 30 days. | 1717344000000 |
| EndTime | long | Yes | The end timestamp of the metering cycle, in milliseconds. The metering data is aggregated by day. The time range between EndTime and StartTime cannot exceed 30 days. | 1717430400000 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1AFAE64E-D1BE-432B-A9****",
"MeasureDatas": [
{
"DomainCode": "DideAlarmPhone",
"ComponentCode": "Count",
"StartTime": 1717344000000,
"EndTime": 1717430400000,
"Usage": 10
}
],
"Success": true,
"ErrorCode": 100001001,
"ErrorMessage": "The user is not in tenant.",
"HttpStatusCode": 200
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | Invalid.Tenant.UserNotInTenant | The user is not in tenant. | The user is not in tenant. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
