NB-IoT Suite Product Introduction QuickStart User Guide Device Development Guide Application Development Guide Best Practices FAQ Service agreement Update Log

Query device information according to imei

Request format: GET

URL: http(s)://api.heclouds.com/devices/getbyimei

I only want to see examples!!!

Url parameter

Parameter NameFormatRequired?Description
imeistringYesnbiot device identity code

Return Parameters

NameFormatDescription
errnointCall error code, where 0 means success.
error stringError description, where "succ" means success
datajsonDevice dependent message returned after the interface is successfully invoked; see Data Description Table

Data Description Table

NameFormatDescription
create_timestringDevice creation time, Beijing time
idstringDevice ID
onlineboolDevice online status
observ_statusboolSubscription status, representing: after the device is on line and the platform releases the subscription command, whether all device resources are successful
titlestringDevice name
descstringDescription; return if any

Request Example

GET http://api.heclouds.com/devices/getbyimei?imei=865***03 HTTP/1.1
api-key: WhI*************v1c=

Return Example

{
    "errno": 0,
    "error": "succ",
    "data": {
        "create_time": "2019-04-24 14:54:29",
        "online": false,
        "id": "5241665",
        "observe_status": false,
        "title": "xxxxxx"
    },
    "error": "succ"
}

< query device condition in batch

delete device >

个搜索结果,搜索内容 “

    0 个搜索结果,搜索内容 “