查询学校中设备信息
GET
https://api2.hik-cloud.com/api/v1/edu/basic/devices/actions/pageDeviceByTenant
功能描述
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api2.hik-cloud.com/api/v1/edu/basic/devices/actions/pageDeviceByTenant?pageNo&pageSize&schoolId' \
--header 'Authorization: Bearer '
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"pageNo": 1,
"pageSize": 100,
"totalPage": 1,
"total": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"firstPage": true,
"lastPage": true,
"rows": [
{
"deviceId": "8c06808799394814880a706761e35800",
"deviceName": "收银台",
"deviceModel": "CS-C3S-52WEFR",
"deviceType": "1025",
"deviceSerial": "123329561",
"deviceOrgId": "8c06808799394814880a706761e35888",
"deviceOrgName": "设备所属组织名称",
"deviceStatus": 1
}
]
}
}
请求参数
Query 参数
pageNo
string
当前页数
pageSize
string
分页量
schoolId
string
学校ID
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}