描述
- 设备查询接口
请求地址
/api/v1/device/{uuid}
请求方式
- GET
参数
| 参数名 | 类型 | 必选 | 说明 |
| —- | —- | —- | —- |
| uuid | String | 是 | 设备唯一标识 |
返回示例
{
"msg": "success",
"code": 200,
"data": {
"dataId": "2233",
"equipmentTypeId": 2,
"equipmentTypeName": "Lora烟感",
"unitUuid": "bc8b0d41-c703-4a38-928a-83e1c0b44df3",
"buildingId": 0,
"address": "****",
"equipmentCode": "asdfasdfsda",
"stationCode": "abc222",
"description": "测试单位设备",
"status": 0,
"contactPhone": "****",
"communicateType": 509,
"communicateTypeName": "其他",
"installDate": "2021-11-18 10:31:01",
"imageUrl": "img.jpg",
"imsi": "asdf132456",
"lng": 34,
"lat": 34,
"modelId": 43,
"model": {
"deviceType": "NP-FDY100-N",
"manufactureCode": "00012",
"deviceCodeName": "独立式光电烟感探测器",
"manufactureName": "海康威视"
}
}
}