Get the List of Gateways under a Specified Asset

Last Updated on : 2023-06-15 04:51:15

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.