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 measurement component. Valid values:
| Count |
StartTime | long | Yes | The start timestamp of the measurement period, in milliseconds. The measurement period is calculated in days. You can query only the data within the previous 30 days. | 1717344000000 |
EndTime | long | Yes | The end timestamp of the measurement period, in milliseconds. The measurement period is calculated in days. You can query only the data within the previous 30 days. | 1717430400000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"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.