Bug #20656
expected price - PTN Certification
Status: | Closed | Start date: | 05/29/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 05/29/2017 | |
Assignee: | - | % Done: | 100% | |
Category: | Functionality | Spent time: | 3.50 hours | |
Target version: | - | |||
End_Date: | 05/29/2017 | Areas Affected: | ||
remarks: | Files Changed: | |||
DB Changes: | Initial Planned Hours: | |||
Keys & Permissions: |
Description
One more amendment is to be done in your Reservation Request, please add the attribute expected_price in your Reservation Request.
For this attribute you should pass the "TotalBookingAmount": value which you receive in Response Cancellation Policy. This attribute is important to check and inform if there is any price change before Reservation.
Response Cancellation Policy:
<Response>
<Message>success</Message>
<TotalBookingAmount>528.48</TotalBookingAmount>
<CancellationCurrency>KWD</CancellationCurrency>
<ContractComment><br/><br/><br/><br/></ContractComment>
<AppliedAgentCharges>264.25</AppliedAgentCharges>
<CancellationHours>49</CancellationHours>
<BookingAllowedInfo>
<Message>success</Message>
<SoldOut>No</SoldOut>
<VoucherRequired>no</VoucherRequired>
<IsConfirmBooking>yes</IsConfirmBooking>
<MessageInfo>You can proceed with the booking</MessageInfo>
<BookingAllowed>yes</BookingAllowed>
</BookingAllowedInfo>
<StartTime>2017-05-24 09:41:56</StartTime>
<EndTime>2017-05-24 09:42:00</EndTime>
</Response>
Request Reservation:
<Request>
<SearchUniqueId>4652420170509333426834568807</SearchUniqueId>
<xml>1</xml>
<action>hotel_reservation</action>
<username>boodai</username>
<password>aviation789</password>
<hotel_id>5925537fef194de0618b4568</hotel_id>
<unique_id>4652420170509333426834568807</unique_id>
<section_unique_id>17_82390-1_0_438</section_unique_id>
<expected_price>528.48</expected_price>
<agent_ref_no>caxagentc00d6e4444764dae88b63e309fb99683</agent_ref_no>
<roomDetails>
<numberOfChilds>0</numberOfChilds>
<roomClassId>0_82390_0_13868</roomClassId>
<passangers>
<salutation>Mr</salutation>
<first_name>ABS</first_name>
<last_name>Tst</last_name>
</passangers>
<passangers>
<salutation>Mr</salutation>
<first_name>OPS</first_name>
<last_name>Tst</last_name>
</passangers>
</roomDetails>
<roomDetails>
<numberOfChilds>0</numberOfChilds>
<roomClassId>0_82390_1_26390</roomClassId>
<passangers>
<salutation>Mr</salutation>
<first_name>Syd</first_name>
<last_name>Test</last_name>
</passangers>
<passangers>
<salutation>Mr</salutation>
<first_name>Jake</first_name>
<last_name>Test</last_name>
</passangers>
</roomDetails>
<roomDetails>
<numberOfChilds>0</numberOfChilds>
<roomClassId>0_82390_2_55373</roomClassId>
<passangers>
<salutation>Mr</salutation>
<first_name>Nick</first_name>
<last_name>TEST</last_name>
</passangers>
</roomDetails>
<flag>1</flag>
</Request>
History
#1 Updated by Jubin J about 8 years ago
- Due date set to 05/29/2017
- Status changed from New to Assigned
- Assignee set to Akhil (TSP) S
- Start date changed from 05/24/2017 to 05/29/2017
#2 Updated by Jubin J about 8 years ago
- Assignee changed from Akhil (TSP) S to Linto V
#3 Updated by Linto V about 8 years ago
- Status changed from Assigned to Fixed not Tested
- % Done changed from 0 to 100
- End_Date set to 05/29/2017
#4 Updated by Sreerag Prasannan about 8 years ago
- Status changed from Fixed not Tested to Closed
- Assignee deleted (
Linto V)
expected_price and TotalBookingAmount is added in request