查询场地空气质量
GET
https://api2.hik-cloud.com/api/v1/edu/basic/devices/actions/getAirQualityData
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/edu/basic/devices/actions/getAirQualityData?classroomId' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"devSerial": "D66033289",
"deviceName": "一年级(1)班",
"temperature": "27",
"humidity": "30",
"pmValue": "0",
"formaldehyde": "0.02",
"tvoc": "0.0144",
"airQuality": "excellent"
}
}
请求参数
Query 参数
classroomId
string
场地ID
schoolId
string
学校ID
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}