Skip to content

查询nb安全帽历史定位数据

接口地址

SERVICE-ADDRESS/nbHat/searchNbGpsVO

方法:post

header头部参数说明

参数 类型 是否必须 说明
appid String 唯一凭证
sign String 签名
ts Long 系统当前毫秒数

body参数说明

参数 类型 是否必须 说明
imei string nb设备定位编号
pageNum string 每页大小范围为1-1000
pageSize string 页码最小为1
beginDateTime String 开始时间(yyyy-MM-dd HH:mm:ss)
endDateTime String 结束时间(yyyy-MM-dd HH:mm:ss)

返回数据示例

{
  "success": true,
  "code": null,
  "message": null,
  "data": {
    "total": 12505,
    "pages": 1251,
    "collection": [
      {
        "name": "862177041911895",
        "fixedby": "GPS",
        "utcdatetime": "1628145923",
        "batterylevel": "1",
        "longitude": "116.284470",
        "latitude": "40.049910",
        "coordinate_type": "WGS-84",
        "altitude": "0",
        "inSosState": true
      }
    ]
  }
}

返回字段说明

字段 字段名称 字段格式 备注
success 是否成功 Boolean
code 状态码 String
message 消息 string
total 总数 string
pages 总页数 string
name 设备编号 string
fixedby 定位方式 (WIFI,BLUETOOTH,GPS/BS 等) string
utcdatetime 备内部上传时间戳(秒级时间戳) string
batterylevel 电池电量 string
longitude 设备采集经度坐标 string
latitude 设备采集纬度坐标 string
coordinate_type 坐标系类型 string
altitude 海拔高度 string
inSosState 是否时sos信息 Boolean