The GetBookingDetailsWithToken request is an optional request that allows the booking details entered into the StoreBookingDetails request to be retrieved. This will only be necessary if the booking details cannot be maintained between StoreBookingDetails and FinaliseBook. This would be the case if a separate payment application is used.Â
Note, these are not the normal booking details saved in iVector but only the details entered in the StoreBookingDetails, the final details are not yet confirmed when this call is made. The final booking details can be obtained using the GetBookingDetails call once the booking has saved.Â
The structure of this XML will be the following
The response contains the necessary information entered in the StoreBookingDetails call.
The structure of this XML will be the following.
The XML structure of the property, flight, transfer, extra and car hire booking nodes is given below:
<GetBookingDetailsWithTokenRequest>
<LoginDetails>
<Login>test</Login>
<Password>test</Password>
</LoginDetails>
<PreBookingStoreToken>[PreBookingStoreToken]</PreBookingStoreToken>
</GetBookingDetailsWithTokenRequest>
<GetBookingDetailsWithTokenResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
</ReturnStatus>
<LeadCustomerDetails>
<CustomerTitle>Mr</CustomerTitle>
<CustomerFirstName>Adult</CustomerFirstName>
<CustomerLastName>One</CustomerLastName>
<DateOfBirth>1980-04-17</DateOfBirth>
<CustomerAddress1>Test</CustomerAddress1>
<CustomerAddress2>Test</CustomerAddress2>
<CustomerTownCity>Test</CustomerTownCity>
<CustomerCounty>Dorset</CustomerCounty>
<CustomerPostcode>Test</CustomerPostcode>
<CustomerBookingCountryID>6</CustomerBookingCountryID>
<CustomerPhone>1234567890</CustomerPhone>
<CustomerFax />
<CustomerEmail>adult@one.com</CustomerEmail>
<CustomerPassportNumber />
</LeadCustomerDetails>
<Adults>2</Adults>
<Children>0</Children>
<Infants>0</Infants>
<TotalPrice>2094.66</TotalPrice>
<CustomerCurrencyID>9</CustomerCurrencyID>
<BookingAdjustments />
<Properties>
<Property>
<PropertyReferenceID>1354</PropertyReferenceID>
<ArrivalDate>2014-08-02</ArrivalDate>
<DepartureDate>2014-08-09</DepartureDate>
<Duration>7</Duration>
<TotalPrice>1121.040</TotalPrice>
<Rooms>
<Room>
<MealBasisID>1</MealBasisID>
<RoomTypeID>0</RoomTypeID>
<RoomType>Double Superior</RoomType>
<RoomViewID>0</RoomViewID>
<PropertyRoomTypeID>2493896</PropertyRoomTypeID>
<NonRefundableRates>false</NonRefundableRates>
<Adults>2</Adults>
<Children>0</Children>
<Infants>0</Infants>
<TotalPrice>1121.04</TotalPrice>
<GuestDetails>
<GuestDetail>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>Adult</FirstName>
<LastName>One</LastName>
<Age>34</Age>
<DateOfBirth>1980-04-17T00:00:00</DateOfBirth>
</GuestDetail>
<GuestDetail>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>Adult</FirstName>
<LastName>Two</LastName>
<Age>35</Age>
<DateOfBirth>1978-06-13T00:00:00</DateOfBirth>
</GuestDetail>
</GuestDetails>
</Room>
</Rooms>
</Property>
</Properties>
<Flights>
<Flight>
<Price>973.620</Price>
<BaggageQuantity>0</BaggageQuantity>
<DepartureAirportID>70</DepartureAirportID>
<DepartureAirport>Miami</DepartureAirport>
<ArrivalAirportID>42</ArrivalAirportID>
<ArrivalAirport>Cancun</ArrivalAirport>
<OutboundDepartureDate>2014-08-02T00:00:00</OutboundDepartureDate>
<OutboundDepartureTime>10:10</OutboundDepartureTime>
<OutboundArrivalDate>2014-08-02T00:00:00</OutboundArrivalDate>
<OutboundArrivalTime>10:55</OutboundArrivalTime>
<OutboundFlightCode>AA1157</OutboundFlightCode>
<ReturnArrivalDate>2014-08-09T00:00:00</ReturnArrivalDate>
<ReturnArrivalTime>20:00</ReturnArrivalTime>
<ReturnDepartureDate>2014-08-09T00:00:00</ReturnDepartureDate>
<ReturnDepartureTime>17:15</ReturnDepartureTime>
<ReturnFlightCode>AA158</ReturnFlightCode>
<FlightCarrierID>145</FlightCarrierID>
<FlightCarrier>AMERICAN AIRLINES (S)</FlightCarrier>
<FlightCarrierLogo>Carrier_145.gif</FlightCarrierLogo>
<FlightSectors>
<FlightSector>
<Direction>Outbound</Direction>
<DepartureAirportID>70</DepartureAirportID>
<DepartureAirport>Miami</DepartureAirport>
<DepartureDate>2014-08-02T00:00:00</DepartureDate>
<DepartureTime>10:10</DepartureTime>
<ArrivalAirportID>42</ArrivalAirportID>
<ArrivalAirport>Cancun</ArrivalAirport>
<ArrivalDate>2014-08-02T00:00:00</ArrivalDate>
<ArrivalTime>10:55</ArrivalTime>
<FlightCarrierID>145</FlightCarrierID>
<FlightCarrier />
<FlightCode>AA1157</FlightCode>
</FlightSector>
<FlightSector>
<Direction>Return</Direction>
<DepartureAirportID>42</DepartureAirportID>
<DepartureAirport>Cancun</DepartureAirport>
<DepartureDate>2014-08-09T00:00:00</DepartureDate>
<DepartureTime>17:15</DepartureTime>
<ArrivalAirportID>70</ArrivalAirportID>
<ArrivalAirport>Miami</ArrivalAirport>
<ArrivalDate>2014-08-09T00:00:00</ArrivalDate>
<ArrivalTime>20:00</ArrivalTime>
<FlightCarrierID>145</FlightCarrierID>
<FlightCarrier />
<FlightCode>AA158</FlightCode>
</FlightSector>
</FlightSectors>
<FlightPassengers>
<FlightPassenger>
<Title>Mr</Title>
<FirstName>Adult</FirstName>
<LastName>One</LastName>
<DateOfBirth>1980-04-17T00:00:00</DateOfBirth>
<MiddleName />
<PassportNumber />
</FlightPassenger>
<FlightPassenger>
<Title>Mr</Title>
<FirstName>Adult</FirstName>
<LastName>Two</LastName>
<DateOfBirth>1978-06-13T00:00:00</DateOfBirth>
<MiddleName />
<PassportNumber />
</FlightPassenger>
</FlightPassengers>
</Flight>
</Flights>
<Transfers />
<Extras />
<CarHires />
</GetBookingDetailsWithTokenResponse>