POST /api/v0.0.1/hotel/checkout?token={token}
参数 | 是否必选 | 类型 | 描述 |
number | 是 | String |
退房房间的分机号码。 取值范围:
例如:“number”:“111” |
参数 | 类型 | 描述 |
status | String |
请求结果。
|
请求示例
为分机111所在的房间退房。
POST /api/v0.0.1/hotel/checkout?token=813b621cfe8eecf445a2ce1f4a079ffe&type=json
Content-Type:application/json; charset=utf-8
Host: 172.16.6.150
{
"number":"111"
}
响应示例
HTTP/1.1 200 OK
Server: Boa/0.94.14rc21
Accept-Ranges: bytes
Connection: close
Content-Type: application/json
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
"status": "Success"
}
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
<?xml version="1.0" encoding="utf-8"?>
<xml>
<status>Success</status>
</xml>