GET api/v1/SelfCheckin/GetHourRoomPriceSchemes?hotelId={hotelId}&roomTypeId={roomTypeId}&pmsRoomTypeId={pmsRoomTypeId}
获取钟点房价格方案
请求信息(Request)
URI 参数
| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| hotelId | integer |
Required |
|
| roomTypeId | integer |
Required |
|
| pmsRoomTypeId | string |
Required |
Body 参数
None.
响应信息(Response)
资源描述
RequestResultOfListOfHourRoomPriceSchemeDTO| 名称 | 描述 | 类型 | 备注 |
|---|---|---|---|
| Data | HourRoomPriceSchemeDTO 集合 |
None. |
|
| Status |
状态(0:成功,1:失败) |
integer |
None. |
| Message |
导致失败的相关消息 |
string |
None. |
| Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json, text/json
Sample:
{
"Data": [
{
"RoomTypeId": 1,
"PmsRoomTypeId": "sample string 2",
"PmsGoodsId": "sample string 3",
"SchemeId": "sample string 4",
"Name": "sample string 5",
"Price": 6.0,
"Minute": 7,
"StartDate": "2025-12-22T23:11:28.1199895+08:00",
"EndDate": "2025-12-22T23:11:28.1199895+08:00",
"WeekDay": "sample string 10"
},
{
"RoomTypeId": 1,
"PmsRoomTypeId": "sample string 2",
"PmsGoodsId": "sample string 3",
"SchemeId": "sample string 4",
"Name": "sample string 5",
"Price": 6.0,
"Minute": 7,
"StartDate": "2025-12-22T23:11:28.1199895+08:00",
"EndDate": "2025-12-22T23:11:28.1199895+08:00",
"WeekDay": "sample string 10"
}
],
"Status": 1,
"Message": "sample string 2",
"Total": 3
}
application/xml, text/xml
Sample:
<RequestResultOfArrayOfHourRoomPriceSchemeDTO6NgmDdgv 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:HourRoomPriceSchemeDTO>
<d2p1:EndDate>2025-12-22T23:11:28.1199895+08:00</d2p1:EndDate>
<d2p1:Minute>7</d2p1:Minute>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:PmsGoodsId>sample string 3</d2p1:PmsGoodsId>
<d2p1:PmsRoomTypeId>sample string 2</d2p1:PmsRoomTypeId>
<d2p1:Price>6</d2p1:Price>
<d2p1:RoomTypeId>1</d2p1:RoomTypeId>
<d2p1:SchemeId>sample string 4</d2p1:SchemeId>
<d2p1:StartDate>2025-12-22T23:11:28.1199895+08:00</d2p1:StartDate>
<d2p1:WeekDay>sample string 10</d2p1:WeekDay>
</d2p1:HourRoomPriceSchemeDTO>
<d2p1:HourRoomPriceSchemeDTO>
<d2p1:EndDate>2025-12-22T23:11:28.1199895+08:00</d2p1:EndDate>
<d2p1:Minute>7</d2p1:Minute>
<d2p1:Name>sample string 5</d2p1:Name>
<d2p1:PmsGoodsId>sample string 3</d2p1:PmsGoodsId>
<d2p1:PmsRoomTypeId>sample string 2</d2p1:PmsRoomTypeId>
<d2p1:Price>6</d2p1:Price>
<d2p1:RoomTypeId>1</d2p1:RoomTypeId>
<d2p1:SchemeId>sample string 4</d2p1:SchemeId>
<d2p1:StartDate>2025-12-22T23:11:28.1199895+08:00</d2p1:StartDate>
<d2p1:WeekDay>sample string 10</d2p1:WeekDay>
</d2p1:HourRoomPriceSchemeDTO>
</Data>
</RequestResultOfArrayOfHourRoomPriceSchemeDTO6NgmDdgv>