校园办公座位管理

更新时间:2023-06-15 05:46:35

通过共享空间的智能门禁和单独座位的智能插座、智能照明等功能设备,实现工位、共享空间的预约控制。

座位管理

API名称 接口地址
查询单个座位信息 GET:/v1.0/iot-03/seats/{seat_id}
编辑座位状态 PUT:/v1.0/iot-03/seats/{seat_id}/status
新增座位 POST:/v1.0/iot-03/seats
删除座位 DELETE:/v1.0/iot-03/seats/{seat_id}
查询座位列表 GET:/v1.0/iot-03/seats
编辑座位信息 PUT:/v1.0/iot-03/seats/{seat_id}
登记座位 POST:/v1.0/iot-03/seats/{seat_id}/actions/distribution

座位预约管理

API名称 接口地址
查询预约记录 GET:/v1.0/iot-03/seat-reservations
查询预约记录 GET:/v1.0/iot-03/seat-reservations/{reservation_id}
查询预约签到信息 GET:/v1.0/iot-03/seat-reservations/{reservation_id}/sign-records
预约签到 POST:/v1.0/iot-03/seat-reservations/actions/sign-in
新增座位预约 POST:/v1.0/iot-03/seat-reservations
取消座位预约 POST:/v1.0/iot-03/seat-reservations/actions/cancel

配置管理

API名称 接口地址
获取签到配置 GET:/v1.0/iot-03/seat-reservations/sign-settings
获取座位配置 GET:/v1.0/iot-03/seat-reservations/seat-settings
创建或更新设备类型配置 POST:/v1.0/iot-03/seat-reservations/device-settings
获取设备类型配置 GET:/v1.0/iot-03/seat-reservations/device-settings
创建座位配置 POST:/v1.0/iot-03/seat-reservations/seat-settings
创建签到配置 POST:/v1.0/iot-03/seat-reservations/sign-settings