POST Hotel/Reserve/OnTheFlyBook/{requestNumber}/{requestPNR}/{userGuid}
The step to book and finalize an On the Fly Reservation
مرحله فروش و نهایی کردن یک رزرو شناوری
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
requestNumber |
Request number, Outputted from reservation step شماره درخواست خروجی از مرحله رزرو |
integer |
Required |
requestPNR |
Request PNR, Outputted from reservation step PNR درخواست خروجی از مرحله رزرو |
string |
Required |
userGuid |
GUID of the User شناسه GUID کاربر |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
HotelBookNewResultVmName | Description | Type | Additional information |
---|---|---|---|
status |
وضعیت رزرو Reservation status |
boolean |
None. |
message |
توضیحات خطا Error description |
string |
None. |
vouchersDetails |
Voucher Details جزییات واچر ها |
Collection of HotelBookNewDetailsVm |
None. |
requestNumber |
Request Number شماره درخواست |
integer |
None. |
voucherUrl |
The URL to fetch voucher's file آدرس دریافت فایل واچر ها |
string |
None. |
Response Formats
application/json, text/json
{ "status": true, "message": "sample string 2", "vouchersDetails": [ { "voucherNumber": "sample string 1", "price": 1.0, "roomCode": 1 }, { "voucherNumber": "sample string 1", "price": 1.0, "roomCode": 1 } ], "requestNumber": 3, "voucherUrl": "sample string 4" }
application/xml, text/xml
<HotelBookNewResultVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models.Hotel"> <message>sample string 2</message> <requestNumber>3</requestNumber> <status>true</status> <voucherUrl>sample string 4</voucherUrl> <vouchersDetails> <HotelBookNewDetailsVm> <price>1</price> <roomCode>1</roomCode> <voucherNumber>sample string 1</voucherNumber> </HotelBookNewDetailsVm> <HotelBookNewDetailsVm> <price>1</price> <roomCode>1</roomCode> <voucherNumber>sample string 1</voucherNumber> </HotelBookNewDetailsVm> </vouchersDetails> </HotelBookNewResultVm>