ListMeasureData

Updated at:

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.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

DomainCode

string

Yes

The measurement item. Valid values:

  • DideAlarmPhone: phone call-based alerts

  • DideAlarmSms: text message-based alerts

DideAlarmPhone

ComponentCode

string

Yes

The metering component. Valid values:

  • Count: The number of DideAlarmPhone (telephone/call) alerts, and the number of DideAlarmSms (SMS/text message) alerts.

Count

StartTime

integer

Yes

The start timestamp of the metering cycle, in milliseconds. The metering data is aggregated by day. Only data from the most recent 30 days can be queried for the range between EndTime and StartTime.

1717344000000

EndTime

integer

Yes

The end timestamp of the metering cycle, in milliseconds. The metering data is aggregated by day. Only data from the most recent 30 days can be queried for the range between EndTime and StartTime.

1717430400000

Response elements

Element

Type

Description

Example

object

The returned result.

RequestId

string

The request ID.

1AFAE64E-D1BE-432B-A9****

MeasureDatas

array<object>

The metering results.

object

DomainCode

string

The item that is measured.

DideAlarmPhone

ComponentCode

string

The measurement component.

Count

StartTime

integer

The start timestamp of the metering cycle, in milliseconds.

1717344000000

EndTime

integer

The end timestamp of the metering cycle, in milliseconds.

1717430400000

Usage

integer

The total quantity used within the measurement period.

10

Success

boolean

Indicates whether the request was successful. Valid values:

  • true

  • false

true

ErrorCode

string

The error code.

100001001

ErrorMessage

string

The error message.

The user is not in tenant.

HttpStatusCode

integer

The HTTP status code.

200

Examples

Success response

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.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.