The quote retrieve request provides the ability to fetch a quote from the database. This allows the user to create a Basket Book Request from the returned information. A complete reference for what can be included in a quote retrieve request is given below. It is important to agents to access the most up to date information, and for this reason the request includes the option to reprice. This means the quote, when retrieved, will use the current pricing information, rather than showing the pricing information at the time the quote was created.
The minimum information a quote retrieve request should contain is Login Details; Quote Reference; & Reprice Quote.
XML Structure
The response returned will include the Response Status, and Component Repriced regardless of quote type. If the component was repriced successfully, it will include a token to allow it to be prebooked and booked. Depending on the quote type, there are a range of other included responses. The XML structure of the response is given below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when a property quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when a flight quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when a transfer quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when an extra quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when a Car Hire quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when an Ad Hoc Component quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
In addition to those outlined in the main QuoteRetrieveResponse, when a Cruise quote is retrieved there are other nodes that will be returned. These are outlined below.
XML Structure
A quote retrieve request for a property quote.
<QuoteRetrieveRequst>
<LoginDetails>
<Login>DemoLogin</Login>
<Password>DemoPassword</Password>
</LoginDetails>
<QuoteReference>1053261/1</QuoteReference>
<RepriceQuote>false</RepriceQuote>
</QuoteRetrieveRequest>
iVectorConnect returns the quote.
<QuoteRetrieveResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<ThirdPartyErrors />
</ReturnStatus>
<QuoteID>219493</QuoteID>
<QuoteReference>1053261/1</QuoteReference>
<QuotedDate>2019-10-07T12:14:27</QuotedDate>
<TradeContactID />
<TradeID />
<LeadCustomer>
<CustomerTitle>TBA</CustomerTitle>
<CustomerId>0</CustomerId>
<CustomerFirstName>TBA</CustomerFirstName>
<CustomerLastName>TBA</CustomerLastName>
<DateOfBirth>1900-01-01T00:00:00.001</DateOfBirth>
<CustomerAddress1>123 Test Street, Test</CustomerAddress1>
<CustomerAddress2>123 Test-Street, Test</CustomerAddress2>
<CustomerTownCity>Test</CustomerTownCity>
<CustomerCounty>Test</CustomerCounty>
<CustomerPostcode>TBA</CustomerPostcode>
<CustomerBookingCountryID>1</CustomerBookingCountryID>
<CustomerPhone>+3537777777777</CustomerPhone>
<CustomerMobile />
<CustomerFax />
<CustomerEmail>TBA@TBA.com</CustomerEmail>
<CustomerPassportNumber />
<CustomerExternalReference />
<ContactCustomer>false</ContactCustomer>
<ContactByPost>false</ContactByPost>
<ContactByEmail>false</ContactByEmail>
<ContactByPhone>false</ContactByPhone>
<ContactBySMS>false</ContactBySMS>
<EMarketingSignUp>false</EMarketingSignUp>
</LeadCustomer>
<Adults>2</Adults>
<Children>0</Children>
<Infants>0</Infants>
<FirstDepartureDate>2020-01-11T00:00:00</FirstDepartureDate>
<LastReturnDate>2020-01-18T00:00:00</LastReturnDate>
<TotalPrice>585.84</TotalPrice>
<TotalCommission>0.00</TotalCommission>
<VATOnCommission>0.00</VATOnCommission>
<GuestDetails>
<GuestDetail>
<GuestID>-1</GuestID>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>AA</FirstName>
<MiddleName />
<LastName>TBA</LastName>
<Age>0</Age>
<DateOfBirth>1900-01-01T00:00:00.001</DateOfBirth>
<NationalityID>0</NationalityID>
<PassportNumber />
<Gender />
</GuestDetail>
<GuestDetail>
<GuestID>-2</GuestID>
<Type>Adult</Type>
<Title>Mr</Title>
<FirstName>BB</FirstName>
<MiddleName />
<LastName>TBA</LastName>
<Age>0</Age>
<DateOfBirth>1900-01-01T00:00:00.001</DateOfBirth>
<NationalityID>0</NationalityID>
<PassportNumber />
<Gender />
</GuestDetail>
</GuestDetails>
<Itinerary>
<Properties>
<Property>
<PropertyQuoteID>-1</PropertyQuoteID>
<PropertyID>1037</PropertyID>
<Source>Own</Source>
<PropertyReferenceID>5200</PropertyReferenceID>
<GeographyLevel1ID>36</GeographyLevel1ID>
<GeographyLevel2ID>84</GeographyLevel2ID>
<GeographyLevel3ID>279</GeographyLevel3ID>
<Status>New</Status>
<ArrivalDate>2020-01-11T00:00:00</ArrivalDate>
<ReturnDate>2020-01-18T00:00:00</ReturnDate>
<Duration>7</Duration>
<TotalPrice>546.84</TotalPrice>
<TotalCommission>0.00</TotalCommission>
<VATOnCommission>0.00</VATOnCommission>
<Rooms>
<Room>
<PropertyRoomBookingID>-1</PropertyRoomBookingID>
<MealBasisID>1</MealBasisID>
<MealBasis>Bed & Breakfast</MealBasis>
<RoomTypeID>-1</RoomTypeID>
<RoomType>One Bedroom Suite King</RoomType>
<RoomViewID>1</RoomViewID>
<PropertyRoomTypeID>4222</PropertyRoomTypeID>
<UpgradeMealBasis />
<Adults>2</Adults>
<Children>0</Children>
<Infants>0</Infants>
<TotalPrice>546.84</TotalPrice>
<PayLocalTotal>0</PayLocalTotal>
<Adjustments />
<OptionalSupplements />
<GuestIDs>
<GuestID>-1</GuestID>
<GuestID>-2</GuestID>
</GuestIDs>
<RoomBookingToken>FNWiXJTiVRxh1rlh1</RoomBookingToken>
</Room>
</Rooms>
<Errata />
<Comments>
<Comment>esrg</Comment>
</Comments>
<ComponentRepriced>true</ComponentRepriced>
<BookingToken>3D5u9NN+JyglecmEp</BookingToken>
<QuotedTotalPrice>0</QuotedTotalPrice>
<PaymentsDue>
<PaymentDue>
<Amount>54.68</Amount>
<DateDue>2019-10-07T00:00:00</DateDue>
</PaymentDue>
<PaymentDue>
<Amount>492.16</Amount>
<DateDue>2019-11-01T00:00:00</DateDue>
</PaymentDue>
</PaymentsDue>
<Cancellations>
<Cancellation>
<StartDate>2019-10-07T00:00:00</StartDate>
<EndDate>2019-11-02T00:00:00</EndDate>
<Amount>200.00</Amount>
</Cancellation>
<Cancellation>
<StartDate>2019-11-03T00:00:00</StartDate>
<EndDate>2019-11-29T00:00:00</EndDate>
<Amount>273.42</Amount>
</Cancellation>
<Cancellation>
<StartDate>2019-11-30T00:00:00</StartDate>
<EndDate>2019-12-20T00:00:00</EndDate>
<Amount>382.79</Amount>
</Cancellation>
<Cancellation>
<StartDate>2019-12-21T00:00:00</StartDate>
<EndDate>2019-12-31T00:00:00</EndDate>
<Amount>492.16</Amount>
</Cancellation>
<Cancellation>
<StartDate>2020-01-01T00:00:00</StartDate>
<EndDate>2099-12-31T00:00:00</EndDate>
<Amount>546.84</Amount>
</Cancellation>
</Cancellations>
<TermsAndConditions>See Brochure</TermsAndConditions>
<TermsAndConditionsURL>ifonly.net/booking-conditions</TermsAndConditionsURL>
<SalesTaxes />
<ComponentReference>1053261/1A</ComponentReference>
</Property>
</Properties>
<Flights />
<Transfers />
<Extras />
<CarHires />
<AdHocComponents />
<Cruises />
<BookingAdjustments>
<BookingAdjustment>
<BookingAdjustmentTypeID>69</BookingAdjustmentTypeID>
<AdjustmentType>Fee</AdjustmentType>
<AdjustmentID>420</AdjustmentID>
<Adjustment>ATOL Fee</Adjustment>
<AdjustmentAmount>20.00</AdjustmentAmount>
<CustomerAdjustmentAmount>20.00</CustomerAdjustmentAmount>
<CalculationBasis>Per Booking</CalculationBasis>
<ParentType />
</BookingAdjustment>
</BookingAdjustments>
<CustomerPayments>
<CustomerPayment>
<DueDate>2019-10-14T00:00:00</DueDate>
<CurrencyID>1</CurrencyID>
<Symbol>£</Symbol>
<TotalPayment>250.00</TotalPayment>
</CustomerPayment>
<CustomerPayment>
<DueDate>2019-11-14T00:00:00</DueDate>
<CurrencyID>1</CurrencyID>
<Symbol>£</Symbol>
<TotalPayment>250.00</TotalPayment>
</CustomerPayment>
<CustomerPayment>
<DueDate>2019-12-11T00:00:00</DueDate>
<CurrencyID>1</CurrencyID>
<Symbol>£</Symbol>
<TotalPayment>85.84</TotalPayment>
</CustomerPayment>
</CustomerPayments>
</QuoteRetrieveResponse>