Query Balance Alert Threshold

Last Updated on : 2023-06-15 05:59:33

Query the balance alert threshold of an electrical device. An alert will be triggered if the account balance is lower than the threshold.

API address

GET: /v1.0/iot-03/power-devices/{device_id}/balance-threshold

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result Integer The balance alert threshold. Unit: kWh.

Request example

GET: /v1.0/iot-03/power-devices/6c31820d9e02f8db7e****/balance-threshold

Return example

{ "result": 10, "t": 1637809685172, "success": true }

Error code

For more information, see error code.