POST api/v1/SelfCheckin/GetHourRoomPrice
获取钟点房价格
请求信息(Request)
URI 参数
None.
Body 参数
HourRoomPriceQuery名称 | 描述 | 类型 | 备注 |
---|---|---|---|
hotelId | integer |
None. |
|
pmsRoomTypeId |
pms房间类型 |
string |
None. |
pmsGoodsId |
pms产品id |
string |
None. |
schemeId |
方案id |
string |
None. |
channelId |
pms渠道参数 |
string |
None. |
checkInDate |
入住时间 |
date |
None. |
hotelVipId |
当会员id有值的时候,查询会员价格 |
string |
None. |
hotelVipCardType |
酒店会员类型id |
string |
None. |
onlyCanCheckIn |
是否只返回能入住的房型 |
boolean |
None. |
请求格式
application/json, text/json
Sample:
{ "hotelId": 1, "pmsRoomTypeId": "sample string 2", "pmsGoodsId": "sample string 3", "schemeId": "sample string 4", "channelId": "sample string 5", "checkInDate": "2025-05-04T17:30:55.933706+08:00", "hotelVipId": "sample string 7", "hotelVipCardType": "sample string 8", "onlyCanCheckIn": true }
application/xml, text/xml
Sample:
<HourRoomPriceQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs.Query"> <channelId>sample string 5</channelId> <checkInDate>2025-05-04T17:30:55.933706+08:00</checkInDate> <hotelId>1</hotelId> <hotelVipCardType>sample string 8</hotelVipCardType> <hotelVipId>sample string 7</hotelVipId> <onlyCanCheckIn>true</onlyCanCheckIn> <pmsGoodsId>sample string 3</pmsGoodsId> <pmsRoomTypeId>sample string 2</pmsRoomTypeId> <schemeId>sample string 4</schemeId> </HourRoomPriceQuery>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfHourRoomPrice名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | HourRoomPrice |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{ "Data": { "RoomTypeId": 1, "PmsRoomTypeId": "sample string 2", "Price": 3.0 }, "Status": 1, "Message": "sample string 2", "Total": 3 }
application/xml, text/xml
Sample:
<RequestResultOfHourRoomPrice6NgmDdgv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application"> <Message>sample string 2</Message> <Status>1</Status> <Total>3</Total> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <d2p1:PmsRoomTypeId>sample string 2</d2p1:PmsRoomTypeId> <d2p1:Price>3</d2p1:Price> <d2p1:RoomTypeId>1</d2p1:RoomTypeId> </Data> </RequestResultOfHourRoomPrice6NgmDdgv>