POST api/v1/SelfCheckin/GetPmsOverStayPrice
获取续住价格
请求信息(Request)
URI 参数
None.
Body 参数
HotelOverStayParamDTO名称 | 描述 | 类型 | 备注 |
---|---|---|---|
HotelId |
酒店id |
integer |
None. |
HotelOrderId |
酒店订单id |
integer |
None. |
PmsHotelId |
Pms酒店id |
string |
None. |
PmsRegOrderId |
登记单id |
string |
None. |
PmsNewOrderId | string |
None. |
|
RoomNumber |
房间号 |
string |
None. |
OverStayType |
续住类型 |
OverStayType |
None. |
DayCount |
续住天数 |
integer |
None. |
HourCount |
续住时长 |
integer |
None. |
CheckOutDate |
新的离店日期 |
date |
None. |
PayType |
支付类型 |
PayType |
None. |
CheckInPayId |
支付单id |
integer |
None. |
CouponId |
优惠券id |
integer |
None. |
GiftId |
法宝id |
integer |
None. |
Remark |
备注 |
string |
None. |
DayPrices |
每日价格 |
HotelRoomDayPriceDTO 集合 |
None. |
HourPrice |
每小时价格 |
HotelRoomHourPriceDTO |
None. |
SourceAppid |
来源appid(不用传) |
string |
None. |
Guests |
入住人信息 |
HotelRegOrderGuestDTO 集合 |
None. |
AllocationId |
预留ID |
string |
None. |
PmsNewAllocationId |
新预留ID |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "HotelId": 1, "HotelOrderId": 1, "PmsHotelId": "sample string 2", "PmsRegOrderId": "sample string 3", "PmsNewOrderId": "sample string 4", "RoomNumber": "sample string 5", "OverStayType": 0, "DayCount": 6, "HourCount": 7, "CheckOutDate": "2025-05-04T17:28:11.933645+08:00", "PayType": 0, "CheckInPayId": 8, "CouponId": 1, "GiftId": 1, "Remark": "sample string 9", "DayPrices": [ { "Date": "2025-05-04T17:28:11.933645+08:00", "Price": 2.0, "OriginalPrice": 3.0 }, { "Date": "2025-05-04T17:28:11.933645+08:00", "Price": 2.0, "OriginalPrice": 3.0 } ], "HourPrice": { "Date": "2025-05-04T17:28:11.933645+08:00", "Price": 1.0, "OriginalPrice": 2.0 }, "SourceAppid": "sample string 10", "Guests": [ { "ID": 1, "HotelId": 2, "HotelRegOrderId": 3, "Name": "sample string 4", "Sex": 5, "Phone": "sample string 6", "IdCardNumber": "sample string 7", "IdCardUid": "sample string 8", "IdCardPhoto": "sample string 9", "Address": "sample string 10", "Birthday": "2025-05-04T17:28:11.933645+08:00", "Nation": "sample string 11", "NationCode": "sample string 12", "IdCardSignDepartment": "sample string 13", "IdCardEffDate": "2025-05-04T17:28:11.933645+08:00", "IdCardExpDate": "2025-05-04T17:28:11.933645+08:00", "IdCardVerifyMode": 0, "IdCardVerifyModeName": "sample string 14", "IdCardVerifyResult": 15.0, "IdCardVerifyNo": "sample string 16", "IdCardVerifyId": 17, "FacePhoto": "sample string 18", "HasDoorLockIdCard": true, "DoorLockIdCardSuccess": true, "DoorLockIdCardMessage": "sample string 21", "DoorLockIdCardTime": "2025-05-04T17:28:11.933645+08:00", "DoorLockIdCardCount": 22, "DoorLockIdCardCancel": true, "DoorLockIdCardCancelMessage": "sample string 24", "DoorLockIdCardCancelCount": 25, "DoorLockIdCardCancelTime": "2025-05-04T17:28:11.933645+08:00", "DoorLockIcCard": "sample string 26", "IcCardReturn": 27, "PoliceApi": 0, "PoliceApiName": "sample string 28", "PoliceApiSuccess": true, "PoliceApiGuestNo": "sample string 29", "PoliceApiRecordNo": "sample string 30", "PoliceApiCheckOut": true, "PoliceApiMessage": "sample string 32", "CreateTime": "2025-05-04T17:28:11.933645+08:00", "PmsGuestId": "sample string 34", "AIControlApi": 1, "AIControlApiName": "sample string 35", "AIControlApiSuccess": true, "AIControlApiMessage": "sample string 36", "IsAddGuest": true, "AddGuestSuccess": true, "UserId": 1, "AIControlApiLog": "sample string 39", "FacesetGroupId": "sample string 40", "FacesetFaceToken": "sample string 41", "HotelCode": "sample string 42", "HotelDataCode": "sample string 43", "IsOpenUnlicenCheckIn": true }, { "ID": 1, "HotelId": 2, "HotelRegOrderId": 3, "Name": "sample string 4", "Sex": 5, "Phone": "sample string 6", "IdCardNumber": "sample string 7", "IdCardUid": "sample string 8", "IdCardPhoto": "sample string 9", "Address": "sample string 10", "Birthday": "2025-05-04T17:28:11.933645+08:00", "Nation": "sample string 11", "NationCode": "sample string 12", "IdCardSignDepartment": "sample string 13", "IdCardEffDate": "2025-05-04T17:28:11.933645+08:00", "IdCardExpDate": "2025-05-04T17:28:11.933645+08:00", "IdCardVerifyMode": 0, "IdCardVerifyModeName": "sample string 14", "IdCardVerifyResult": 15.0, "IdCardVerifyNo": "sample string 16", "IdCardVerifyId": 17, "FacePhoto": "sample string 18", "HasDoorLockIdCard": true, "DoorLockIdCardSuccess": true, "DoorLockIdCardMessage": "sample string 21", "DoorLockIdCardTime": "2025-05-04T17:28:11.933645+08:00", "DoorLockIdCardCount": 22, "DoorLockIdCardCancel": true, "DoorLockIdCardCancelMessage": "sample string 24", "DoorLockIdCardCancelCount": 25, "DoorLockIdCardCancelTime": "2025-05-04T17:28:11.933645+08:00", "DoorLockIcCard": "sample string 26", "IcCardReturn": 27, "PoliceApi": 0, "PoliceApiName": "sample string 28", "PoliceApiSuccess": true, "PoliceApiGuestNo": "sample string 29", "PoliceApiRecordNo": "sample string 30", "PoliceApiCheckOut": true, "PoliceApiMessage": "sample string 32", "CreateTime": "2025-05-04T17:28:11.933645+08:00", "PmsGuestId": "sample string 34", "AIControlApi": 1, "AIControlApiName": "sample string 35", "AIControlApiSuccess": true, "AIControlApiMessage": "sample string 36", "IsAddGuest": true, "AddGuestSuccess": true, "UserId": 1, "AIControlApiLog": "sample string 39", "FacesetGroupId": "sample string 40", "FacesetFaceToken": "sample string 41", "HotelCode": "sample string 42", "HotelDataCode": "sample string 43", "IsOpenUnlicenCheckIn": true } ], "AllocationId": "sample string 11", "PmsNewAllocationId": "sample string 12" }
application/xml, text/xml
Sample:
<HotelOverStayParamDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs"> <AllocationId>sample string 11</AllocationId> <CheckInPayId>8</CheckInPayId> <CheckOutDate>2025-05-04T17:28:11.933645+08:00</CheckOutDate> <CouponId>1</CouponId> <DayCount>6</DayCount> <DayPrices> <HotelRoomDayPriceDTO> <Date>2025-05-04T17:28:11.933645+08:00</Date> <OriginalPrice>3</OriginalPrice> <Price>2</Price> </HotelRoomDayPriceDTO> <HotelRoomDayPriceDTO> <Date>2025-05-04T17:28:11.933645+08:00</Date> <OriginalPrice>3</OriginalPrice> <Price>2</Price> </HotelRoomDayPriceDTO> </DayPrices> <GiftId>1</GiftId> <Guests> <HotelRegOrderGuestDTO> <AIControlApi>1</AIControlApi> <AIControlApiLog>sample string 39</AIControlApiLog> <AIControlApiMessage>sample string 36</AIControlApiMessage> <AIControlApiName>sample string 35</AIControlApiName> <AIControlApiSuccess>true</AIControlApiSuccess> <AddGuestSuccess>true</AddGuestSuccess> <Address>sample string 10</Address> <Birthday>2025-05-04T17:28:11.933645+08:00</Birthday> <CreateTime>2025-05-04T17:28:11.933645+08:00</CreateTime> <DoorLockIcCard>sample string 26</DoorLockIcCard> <DoorLockIdCardCancel>true</DoorLockIdCardCancel> <DoorLockIdCardCancelCount>25</DoorLockIdCardCancelCount> <DoorLockIdCardCancelMessage>sample string 24</DoorLockIdCardCancelMessage> <DoorLockIdCardCancelTime>2025-05-04T17:28:11.933645+08:00</DoorLockIdCardCancelTime> <DoorLockIdCardCount>22</DoorLockIdCardCount> <DoorLockIdCardMessage>sample string 21</DoorLockIdCardMessage> <DoorLockIdCardSuccess>true</DoorLockIdCardSuccess> <DoorLockIdCardTime>2025-05-04T17:28:11.933645+08:00</DoorLockIdCardTime> <FacePhoto>sample string 18</FacePhoto> <FacesetFaceToken>sample string 41</FacesetFaceToken> <FacesetGroupId>sample string 40</FacesetGroupId> <HasDoorLockIdCard>true</HasDoorLockIdCard> <HotelCode>sample string 42</HotelCode> <HotelDataCode>sample string 43</HotelDataCode> <HotelId>2</HotelId> <HotelRegOrderId>3</HotelRegOrderId> <ID>1</ID> <IcCardReturn>27</IcCardReturn> <IdCardEffDate>2025-05-04T17:28:11.933645+08:00</IdCardEffDate> <IdCardExpDate>2025-05-04T17:28:11.933645+08:00</IdCardExpDate> <IdCardNumber>sample string 7</IdCardNumber> <IdCardPhoto>sample string 9</IdCardPhoto> <IdCardSignDepartment>sample string 13</IdCardSignDepartment> <IdCardUid>sample string 8</IdCardUid> <IdCardVerifyId>17</IdCardVerifyId> <IdCardVerifyMode>NoVerify</IdCardVerifyMode> <IdCardVerifyModeName>sample string 14</IdCardVerifyModeName> <IdCardVerifyNo>sample string 16</IdCardVerifyNo> <IdCardVerifyResult>15</IdCardVerifyResult> <IsAddGuest>true</IsAddGuest> <IsOpenUnlicenCheckIn>true</IsOpenUnlicenCheckIn> <Name>sample string 4</Name> <Nation>sample string 11</Nation> <NationCode>sample string 12</NationCode> <Phone>sample string 6</Phone> <PmsGuestId>sample string 34</PmsGuestId> <PoliceApi>None</PoliceApi> <PoliceApiCheckOut>true</PoliceApiCheckOut> <PoliceApiGuestNo>sample string 29</PoliceApiGuestNo> <PoliceApiMessage>sample string 32</PoliceApiMessage> <PoliceApiName>sample string 28</PoliceApiName> <PoliceApiRecordNo>sample string 30</PoliceApiRecordNo> <PoliceApiSuccess>true</PoliceApiSuccess> <Sex>5</Sex> <UserId>1</UserId> </HotelRegOrderGuestDTO> <HotelRegOrderGuestDTO> <AIControlApi>1</AIControlApi> <AIControlApiLog>sample string 39</AIControlApiLog> <AIControlApiMessage>sample string 36</AIControlApiMessage> <AIControlApiName>sample string 35</AIControlApiName> <AIControlApiSuccess>true</AIControlApiSuccess> <AddGuestSuccess>true</AddGuestSuccess> <Address>sample string 10</Address> <Birthday>2025-05-04T17:28:11.933645+08:00</Birthday> <CreateTime>2025-05-04T17:28:11.933645+08:00</CreateTime> <DoorLockIcCard>sample string 26</DoorLockIcCard> <DoorLockIdCardCancel>true</DoorLockIdCardCancel> <DoorLockIdCardCancelCount>25</DoorLockIdCardCancelCount> <DoorLockIdCardCancelMessage>sample string 24</DoorLockIdCardCancelMessage> <DoorLockIdCardCancelTime>2025-05-04T17:28:11.933645+08:00</DoorLockIdCardCancelTime> <DoorLockIdCardCount>22</DoorLockIdCardCount> <DoorLockIdCardMessage>sample string 21</DoorLockIdCardMessage> <DoorLockIdCardSuccess>true</DoorLockIdCardSuccess> <DoorLockIdCardTime>2025-05-04T17:28:11.933645+08:00</DoorLockIdCardTime> <FacePhoto>sample string 18</FacePhoto> <FacesetFaceToken>sample string 41</FacesetFaceToken> <FacesetGroupId>sample string 40</FacesetGroupId> <HasDoorLockIdCard>true</HasDoorLockIdCard> <HotelCode>sample string 42</HotelCode> <HotelDataCode>sample string 43</HotelDataCode> <HotelId>2</HotelId> <HotelRegOrderId>3</HotelRegOrderId> <ID>1</ID> <IcCardReturn>27</IcCardReturn> <IdCardEffDate>2025-05-04T17:28:11.933645+08:00</IdCardEffDate> <IdCardExpDate>2025-05-04T17:28:11.933645+08:00</IdCardExpDate> <IdCardNumber>sample string 7</IdCardNumber> <IdCardPhoto>sample string 9</IdCardPhoto> <IdCardSignDepartment>sample string 13</IdCardSignDepartment> <IdCardUid>sample string 8</IdCardUid> <IdCardVerifyId>17</IdCardVerifyId> <IdCardVerifyMode>NoVerify</IdCardVerifyMode> <IdCardVerifyModeName>sample string 14</IdCardVerifyModeName> <IdCardVerifyNo>sample string 16</IdCardVerifyNo> <IdCardVerifyResult>15</IdCardVerifyResult> <IsAddGuest>true</IsAddGuest> <IsOpenUnlicenCheckIn>true</IsOpenUnlicenCheckIn> <Name>sample string 4</Name> <Nation>sample string 11</Nation> <NationCode>sample string 12</NationCode> <Phone>sample string 6</Phone> <PmsGuestId>sample string 34</PmsGuestId> <PoliceApi>None</PoliceApi> <PoliceApiCheckOut>true</PoliceApiCheckOut> <PoliceApiGuestNo>sample string 29</PoliceApiGuestNo> <PoliceApiMessage>sample string 32</PoliceApiMessage> <PoliceApiName>sample string 28</PoliceApiName> <PoliceApiRecordNo>sample string 30</PoliceApiRecordNo> <PoliceApiSuccess>true</PoliceApiSuccess> <Sex>5</Sex> <UserId>1</UserId> </HotelRegOrderGuestDTO> </Guests> <HotelId>1</HotelId> <HotelOrderId>1</HotelOrderId> <HourCount>7</HourCount> <HourPrice> <Date>2025-05-04T17:28:11.933645+08:00</Date> <OriginalPrice>2</OriginalPrice> <Price>1</Price> </HourPrice> <OverStayType>Day</OverStayType> <PayType>Offline</PayType> <PmsHotelId>sample string 2</PmsHotelId> <PmsNewAllocationId>sample string 12</PmsNewAllocationId> <PmsNewOrderId>sample string 4</PmsNewOrderId> <PmsRegOrderId>sample string 3</PmsRegOrderId> <Remark>sample string 9</Remark> <RoomNumber>sample string 5</RoomNumber> <SourceAppid>sample string 10</SourceAppid> </HotelOverStayParamDTO>
application/x-www-form-urlencoded
Sample:
响应信息(Response)
资源描述
RequestResultOfHotelRoomPriceDTO名称 | 描述 | 类型 | 备注 |
---|---|---|---|
Data | HotelRoomPriceDTO |
None. |
|
Status |
状态(0:成功,1:失败) |
integer |
None. |
Message |
导致失败的相关消息 |
string |
None. |
Total |
集合总数,用于分页时使用 |
integer |
None. |
响应格式
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample: