Last Updated on : 2023-06-20 15:21:19download
Query the device activation result based on the network configuration token.
GET: /v1.1/iot-03/device-registration/tokens/{token}
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| token | String | uri | true | Network Token |
| Parameter name | Type | Description |
|---|---|---|
| result | DeviceActiveRes |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| success_devices | List | List of successful device network configuration |
| error_devices | List | Device network configuration failure list |
Description of error_devices
| Parameter name | Type | Description |
|---|---|---|
| id | String | Device ID |
| name | String | Device Name |
| error_code | String | Failed error code |
| error_msg | String | Failure description |
Description of success_devices
| Parameter name | Type | Description |
|---|---|---|
| id | String | Device ID |
| name | String | Device Name |
| product_id | String | Product ID to which the device belongs |
| lon | String | Longitude |
| lat | String | Latitude |
| ip | String | Device configuration network IP |
| online | Boolean | Device online status |
| uuid | String | Device uuid |
GET: /v1.1/iot-03/device-registration/tokens/xxxx
{
"result": {
"success_devices": [
{
"product_id": "sfclyxhrfnys****",
"name": "ASUS",
"online": true,
"id": "6c4b088a4116ae16c****"
}
],
"error_devices": [
]
},
"t": 1591872112140,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback