| 请求参数(支持,XML和JSON)最小间隔2分钟 | |||||
|---|---|---|---|---|---|
| 上传参数 | |||||
| devlist | 设备列表 | ||||
| 设备参数 | |||||
| “name”: “测试1”, | 设备名称 | ||||
| “sn”: 31966826400, | 设备SN | ||||
| “maplat”:,38.085224 | 设备纬度 | ||||
| “maplng”: 14.44766, | 设备经度 | ||||
| “online”: false, | 在线 | ||||
| “nodes”: [], | 节点数组 | ||||
| 节点参数 | |||||
| “name”: “空气温度”, | 节点名称 | ||||
| “value”: 0, | 节点值 | ||||
| “unit”: “℃”, | 节点单位 | ||||
| 输出样例 | |||||
| { “ devlist “: [ { “sn”: 31966826400, “name”: “测试1”, “online”: false, “maplng”: 114.44766, “maplat”: 38.085224, “ nodes “: [ { “name”: “空气温度”, “value”: 0, “unit”: “℃”, }, { “name”: “空气湿度”, “value”: 0, “unit”: “%RH”, }, { “name”: “光照度”, “value”: 0, “unit”: “Lux”, } ] }, { “sn”: 75122043309, “name”: “测试2”, “online”: false, “maplng”: 114.44766, “maplat”: 38.08522, “nodes”: [ { “name”: “空气温度”, “value”: 0, “unit”: “℃”, }, { “name”: “空气湿度”, “value”: 0, “unit”: “%RH”, }, { “name”: “光照度”, “value”: 0, “unit”: “Lux”, } ] } ] } |
