根据手机号获取客人的在住信息列表
接口Method
hotel.room.searchcheckinbymobile
请求BizContent参数
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
hotelId | 199999999999999 | Long | 酒店ID |
mobile | 13000000000 | String | 要查询的手机号 |
{
"hotelId": 199999999999999,
"mobile":"13000000000"
}
成功响应示例
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
roomNo | 8812 | String | 房间号 |
orderId | 200012020209486289 | String | 订单号 |
orderType | 2 | Enum | 1 - 小时房, 2 - 过夜房 |
checkinId | 200012020209223 | Long | 入住占房Id |
name | 张三 | String | 入住人姓名 |
mobile | 13000000000 | String | 入住人手机号 |
gender | 1 | Enum | 性别:1-男,2-女,0-保密 |
checkinTime | 2021-12-23 18:57:43 | String | 该客人入住时间 |
checkoutTime | 2021-12-25 14:00:00 | String | 该客人(预计)离店时间 |
{
"code": 0,
"message": "成功",
"data": [{
"roomNo": "8812",
"orderId": "200012020209486289",
"orderType": 2,
"checkinId": "1310884104540015",
"name": "张三",
"mobile": "13000000000",
"gender": 1,
"checkinTime": "2021-12-22 18:57:43",
"checkoutTime": "2021-12-25 14:00:00"
}]
}
错误响应示例
{
"code": 4000,
"message": "鉴权失败",
"data": null
}