获取实时设备信息

来源文档:小鹰开放平台设备管理文档v1.1.14.html

请求方式:POST

请求地址:

请求示例
正式:https://open.eye4cloud.com/{{open_id}}/open/v1/device/getRealtimeDeviceInfo

请求字段

字段名 是否必传 类型 备注
device_id 是 string 设备唯一 id,可使用 IMEI
timestamp 是 int64 时间戳,单位:秒
nonce 是 string 随机字符串,8~20 个字符
sign 是 string 参考《生成 sign 的示例代码》
imei 否 string 设备 IMEI,可传空字符串
data 否 string 自定义 data,可传空字符串

CURL 请求示例

请求示例
curl 'https://open.eye4cloud.com/xxxxx/open/v1/device/getRealtimeDeviceInfo' \
  -H 'Content-Type: application/json' \
  --data-raw '{
    "device_id": "xxx",
    "timestamp": 1757472185,
    "nonce": "<YOUR_NONCE>",
    "sign": "<EXPIRED_SIGN>"
}'

返回数据字段

原文返回示例包含 `iccid`、`net_mode`、`power_mode`、`sys_ver`、`area`。