Query Assets by Asset ID

Last Updated on : 2023-06-21 07:12:56download

Query the assets by asset ID.

API address

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

Request parameter

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

Return parameter

Parameter name Type Description
result AssetQueryRes

Description of result

Parameter name Type Description
asset_id String The asset ID.
asset_name String The asset name.
asset_full_name String The full name of the specified asset.
parent_asset_id String The ID of the parent asset.
asset_image String The asset image.
asset_type String The asset type.

Request example

GET: /v1.0/iot-03/assets/1400098359989063680

Return example

{ "result": { "asset_image": "image00003333", "asset_id": "1400098359989063680", "asset_full_name": "Level-1 asset zichan02zichan00003333", "asset_name": "zichan00003333", "parent_asset_id": "1398529147554340864", "asset_type": "floor" }, "t": 1624069532729, "success": true }

Error code

For more information, see error code.