Project Space Statistics

Last Updated on : 2023-06-21 07:13:08download

Count the total number of project spaces and the number of spaces bound with devices.

API address

GET: /v1.0/iot-03/energy/{energy_type}/space-count

Request parameter

Parameter name Type IN Required Description
energy_type String uri true The energy type. Set the value to electricity.

Return parameter

Parameter name Type Description
result EnergySpaceCount

Description of result

Parameter name Type Description
total Integer The total number of project spaces.
bind Integer The number of spaces bound with devices.

Request example

GET: v1.0/iot-03/energy/electricity/space-count

Return example

{ "result": { "total": 3, "bind": 1 }, "t": 1632466020044, "success": true }

Error code

For more information, see error code.