1.URL

http://124.223.60.234:8080/system/asset/hj212/queryTerminalInfoListByOrgId

2.请求参数

2.1请求头

在Headers里面增加token:对应登录验证成功后,data里面对应的tokenId

2.2.参数示例

{
    "orgId":"E86CB5248B36484E924AA0A97783B767",
    "key":"",
    "pageNum":1,
    "pageSize":20
}

2.3.参数说明

字段 类型 说明 是否必须
orgId String 公司组织唯一标识 Y
key String 模糊查询Key Y
pageNum int 分页查询当前页码,默认1 Y
pageSize int 分页查询每页显示条数,默认20 Y

3.接口应答

3.1.返回示例

{
    "code": 200,
    "message": "Operation succeeded",
    "data": {
        "total": 2,
        "size": 1,
        "data": [
            {
                "id": "CCF585E234E1484B85E601B1CABC1261",
                "terminalNum": "20210320013401",
                "customNum": "AQMS-3400",
                "orgId": "E86CB5248B36484E924AA0A97783B767",
                "orgName": "TEST",
                "typeId": 520,
                "typeName": "HJ212",
                "protocolType": 520,
                "securityNum": "34020000001110000001",
                "imageUrl": "",
                "simNum": "",
                "iccid": "",
                "imei": "",
                "status": 0,
                "descInfo": "空气质量检测设备测试xxxxxxxxxxxxxxxxxxxxxxxx",
                "address": null,
                "lat": 0.0,
                "lon": 0.0,
                "positionTime": null,
                "positionUser": null,
                "positionImage": null,
                "positionDesc": null,
                "expireTime": "2025-11-10 00:00:00",
                "createTime": "2024-11-10 11:13:40",
                "creatorId": "BD2F7124F47040FE92AEFDE0B7F0C260",
                "creator": "xlm",
                "terminalStatus": {
                    "onlineStatus": 0
                }
            },
            {
                "id": "104FB727AD854E24B12F412E7431203B",
                "terminalNum": "20210320013400",
                "customNum": "AQMS-3400",
                "orgId": "E86CB5248B36484E924AA0A97783B767",
                "orgName": "TEST",
                "typeId": 520,
                "typeName": "HJ212",
                "protocolType": 520,
                "securityNum": "34020000001110000002",
                "imageUrl": "",
                "simNum": "",
                "iccid": "",
                "imei": "",
                "status": 1,
                "descInfo": "空气质量检测设备测试",
                "address": null,
                "lat": 0.0,
                "lon": 0.0,
                "positionTime": null,
                "positionUser": null,
                "positionImage": null,
                "positionDesc": null,
                "expireTime": "2025-11-10 00:00:00",
                "createTime": "2024-11-10 10:56:19",
                "creatorId": "BD2F7124F47040FE92AEFDE0B7F0C260",
                "creator": "xlm",
                "terminalStatus": {
                    "onlineStatus": 0
                }
            }
        ]
    }
}

3.2.返回结果说明

字段 类型 说明
code int 返回状态
message String 返回结果描述
data object 返回结果体

data说明

字段 类型 说明
total String 总条数
size String 多少页
data object 每页的结果集合

data说明

字段 类型 说明
id String 终端系统唯一标识
terminalNum String 终端SID
customNum String 客户自定义名称,必填,界面呈现的时候以这个名称为主
orgId String 公司唯一标识
orgName String 公司名称
typeId Integer 终端类型ID
typeName String 终端类型名称
simNum String SIM卡号
iccid String ICCID
imei String IMEI
descInfo String 终端描述
address String 最新安装位置
lat Double 纬度(WGS-84)
lon Double 经度(WGS-84)
positionTime String 最近的安装时间
positionUser String 安装人
positionImage String 安装图片,返回的是一个JSON数组
positionDesc String 安装描述
expireTime String 终端服务到期时间
createTime String 终端注册时间
creatorId String 终端注册人唯一标识
creator String 终端注册人
terminalStatus object 终端实时状态
terminalStatus说明
字段 类型 说明
onlineStatus int 0:未联网;1:联网中;-1:未激活
dateTime String 数据上报时间
recvTime String 系统接收时间
aqiValue Object AQI信息
hj212IAQIValueMap List 采样因子IAQI的详情
aqiValue说明
字段 类型 说明
factor String 采用因子
iaqiValue double AQI值
index int 环境质量等级
sort String 环境质量等级描述
color String 环境质量等级对应的颜色,颜色16进制
healthImpact String 对健康影响情况说明
suggest String 建议采取的措施说明
作者:admin  创建时间:2024-11-12 19:49
最后编辑:admin  更新时间:2025-04-23 17:26