Query Industrial Device Distribution

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

Query the geographical distribution of industrial devices.

API address

GET: /v1.1/iot-03/si/devices/distribution

Request parameter

Parameter name Type IN Required Description
customer_code String false The code of a specified customer.
device_code String false The code of a specified device.
city_name String false The city name.

Return parameter

Parameter name Type Description
result List The returned result.

Description of result

Parameter name Type Description
device_name String The device name.
device_code String The code of a specified device.
device_model_code String The device model.
tuya_device_id String The ID of a Tuya device.
address String The real-time address.
longitude String The real-time longitude.
latitude String The real-time latitude.

Request example

GET: /v1.1/iot-03/si/devices/distribution?city_name=Hangzhou

Return example

{ "result": [ { "address": "***Hangzhou City, Zhejiang Province", "latitude": "3***", "tuya_device_id": "vdevo***", "device_name": "Virtual Device", "device_code": "C1", "device_model_code": "mac001", "longitude": "12***" } ], "t": 1638268838129, "success": true }

Error code

For more information, see error code.