POST api/v1/SelfCheckin/GetRoomTypes
获取酒店每日房型价
请求信息(Request)
URI 参数
None.
Body 参数
HotelRoomTypesQuery| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| hotelId | integer |
None. |
|
| checkInDate | date |
None. |
|
| checkOutDate | date |
None. |
|
| memberType | MemberType |
None. |
|
| channelId |
pms渠道参数 |
string |
None. |
| hotelVipId |
当会员id有值的时候,查询会员价格 |
string |
None. |
| hotelVipCardType |
酒店会员类型id |
string |
None. |
| onlyCanCheckIn |
是否只返回能入住的房型 |
boolean |
None. |
| isHourRoom |
是否钟点房预定 |
boolean |
None. |
| IsSpecial |
是否特舒房 |
boolean |
None. |
请求格式
application/json, text/json
Sample:
{
"hotelId": 1,
"checkInDate": "2025-12-22T22:59:31.9031679+08:00",
"checkOutDate": "2025-12-22T22:59:31.9031679+08:00",
"memberType": 0,
"channelId": "sample string 4",
"hotelVipId": "sample string 5",
"hotelVipCardType": "sample string 6",
"onlyCanCheckIn": true,
"isHourRoom": true,
"IsSpecial": true
}
application/xml, text/xml
Sample:
<HotelRoomTypesQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query"> <IsSpecial>true</IsSpecial> <channelId>sample string 4</channelId> <checkInDate>2025-12-22T22:59:31.9031679+08:00</checkInDate> <checkOutDate>2025-12-22T22:59:31.9031679+08:00</checkOutDate> <hotelId>1</hotelId> <hotelVipCardType>sample string 6</hotelVipCardType> <hotelVipId>sample string 5</hotelVipId> <isHourRoom>true</isHourRoom> <memberType>Normal</memberType> <onlyCanCheckIn>true</onlyCanCheckIn> </HotelRoomTypesQuery>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
酒店房间列表
RequestResultOfListOfHotelRoomDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | HotelRoomDTO 集合 |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample: