Last Updated on : 2023-06-20 15:18:43download
Query the assets by asset ID.
GET: /v1.0/iot-02/assets/{asset_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
asset_id | String | uri | true | The asset ID. |
Parameter name | Type | Description |
---|---|---|
result | HighwayAssetResponse |
Description of result
Parameter name | Type | Description |
---|---|---|
asset_id | String | The asset ID. |
parent_asset_id | String | The ID of the parent asset. The top-level ID is set to -1 . |
asset_name | String | The asset name. |
asset_full_name | String | The full name of the specified asset. |
level | Integer | The hierarchical level of the specified asset. The root node is set to 0 . |
GET: /v1.0/iot-02/assets/137493xxxx2112
{
"result": {
"level": 0,
"asset_id": "abcdxx",
"asset_full_name": "Full name of the asset",
"asset_name": "Asset name",
"parent_asset_id": "xxxparentId"
},
"t": 1616644441044,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback