air_condition
  1. check
air_condition
  • auth
    • login
      GET
    • logout
      GET
  • guest
    • get_panel_status
      GET
    • remote_control
      POST
  • admin
    • admin_control
      POST
    • get_all_device_status
      GET
    • get_device_status
      GET
  • check
    • check_in
      POST
    • check_out
      POST
  • bill
    • bill_cost
      GET
    • bill_detail
      GET
  • report
    • get_daily_report
      POST
    • get_weekly_report
      POST
  1. check

check_in

开发中
POST
/check_in
check in a room.

请求参数

Query 参数
room_id
integer 
必需
示例值:
123
Body 参数application/json
guest_name
string 
必需
示例
{
    "guest_name": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/check_in?room_id=123' \
--header 'Content-Type: application/json' \
--data-raw '{
    "guest_name": "string"
}'

返回响应

🟢200成功
application/json
Body
status
enum<string> 
必需
枚举值:
success!failed
示例
{
    "status": "success!"
}
修改于 2023-11-29 12:07:29
上一页
get_device_status
下一页
check_out
Built with