Get the List of Gateways under a Specified Asset

Last Updated on : 2021-07-16 07:53:01download

Get the list of gateways under a specified asset.

API address

GET: /v1.0/iot-03/device-registration/assets/{asset_id}/gateways

Request parameter

Parameter name Type IN Required Description
asset_id String uri true The asset ID.

Return parameter

Parameter name Type Description
result List

Description of result

Parameter name Type Description
id String The device ID.
name String The device name.
online Boolean The online status of the device.
category String Category

Request example

GET: /v1.0/iot-03/device-registration/assets/{asset_id}/gateways

Return example

{ "result": [ ], "t": 1591872112140, "success": true }

Error code

For more information, see error code.