Request format: GET
URL: http(s)://api.heclouds.com/devices/getbyimei
I only want to see examples!!!
Parameter Name | Format | Required? | Description |
---|---|---|---|
imei | string | Yes | nbiot device identity code |
Name | Format | Description |
---|---|---|
errno | int | Call error code, where 0 means success. |
error | string | Error description, where "succ" means success |
data | json | Device dependent message returned after the interface is successfully invoked; see Data Description Table |
Name | Format | Description |
---|---|---|
create_time | string | Device creation time, Beijing time |
id | string | Device ID |
online | bool | Device online status |
observ_status | bool | Subscription status, representing: after the device is on line and the platform releases the subscription command, whether all device resources are successful |
title | string | Device name |
desc | string | Description; return if any |
GET http://api.heclouds.com/devices/getbyimei?imei=865***03 HTTP/1.1
api-key: WhI*************v1c=
{
"errno": 0,
"error": "succ",
"data": {
"create_time": "2019-04-24 14:54:29",
"online": false,
"id": "5241665",
"observe_status": false,
"title": "xxxxxx"
},
"error": "succ"
}