air_condition
  1. bill
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. bill

bill_detail

开发中
GET
/bill_detail
get the detail of the aircondition usage of the guest.

请求参数

Query 参数
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 GET '/bill_detail?guest_name=小王'

返回响应

🟢200成功
application/json
Body
room_id
integer 
必需
detail_list
array [object {9}] 
必需
request_time
string 
必需
start_time
string 
必需
follow the unix timestamps
end_time
string 
必需
follow the unix timestamps
duration
number <float>
秒
必需
speed
enum<string> 
必需
low, mid, high
枚举值:
lowmidhigh
period_cost
number <float>
必需
fee_rate
number <float>
元每度
必需
from_tem
number 
可选
to_tem
number 
可选
示例
{
    "detail_list": [
        {
            "start_time": "2021-07-01 03:08:18",
            "end_time": "2015-02-20 12:42:31",
            "speed": "low",
            "from_tem": 8,
            "to_tem": 67,
            "period_cost": 90
        },
        {
            "start_time": "2007-10-24 03:21:14",
            "end_time": "1991-12-12 08:32:03",
            "speed": "mid",
            "from_tem": 61,
            "to_tem": 12,
            "period_cost": 33
        }
    ]
}
修改于 2023-12-03 08:42:16
上一页
bill_cost
下一页
get_daily_report
Built with