Get the List of Gateways under a Specified Asset

Last Updated on : 2023-06-20 15:21:28download

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 nameTypeINRequiredDescription
asset_idStringuritrueThe asset ID.

Return parameter

Parameter nameTypeDescription
resultList

Description of result

Parameter nameTypeDescription
idStringThe device ID.
nameStringThe device name.
onlineBooleanThe online status of the device.
categoryStringCategory

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.