Enquiries can be used to contain a Booking or an Option, as well as any number of Quotes.Â
The CreateEnquiryRequest is used to create an Enquiry within iVector.Â
The structure of the XML will be:
The Response will contain a ReturnStatus, which will provide information regarding the success of the request, and also returns the Enquiry reference, which is used to access the Enquiry at a later date.Â
The structure of the XML will be:
<CreateEnquiryRequest>
<LoginDetails>
<Login>demo</Login>
<Password>demo</Password>
<AgentReference />
<SellingCurrencyID>0</SellingCurrencyID>
<LanguageID>0</LanguageID>
<TrackingAffiliateID>0</TrackingAffiliateID>
<BrandID>0</BrandID>
<BookingSourceID>0</BookingSourceID>
<SalesChannelID>0</SalesChannelID>
<TradeID>0</TradeID>
<SellingCountryID>0</SellingCountryID>
<CurrencyID>0</CurrencyID>
<ItineraryInformation>false</ItineraryInformation>
</LoginDetails>
<CustomerID>0</CustomerID>
<TradeID>0</TradeID>
<TradeContactID>0</TradeContactID>
<BrandID>0</BrandID>
<SalesChannelID>0</SalesChannelID>
<MarketingCodeID>0</MarketingCodeID>
<BookingSourceID>0</BookingSourceID>
<SellingCurrencyID>0</SellingCurrencyID>
<SellingCountryID>0</SellingCountryID>
<EnquiryType />
<From />
<Destination />
<ArrivalDate>0001-01-01T00:00:00</ArrivalDate>
<DepartureDate>0001-01-01T00:00:00</DepartureDate>
<DurationFrom>0</DurationFrom>
<DurationTo>0</DurationTo>
<Rooms>0</Rooms>
<Guests>
<Adults>0</Adults>
<Children>0</Children>
<Infants>0</Infants>
</Guests>
<FlightClassID>0</FlightClassID>
<Budget>0</Budget>
<TransferRequired>false</TransferRequired>
<InsuranceRequired>false</InsuranceRequired>
<CarHireRequired>false</CarHireRequired>
<ExtrasRequired>false</ExtrasRequired>
<AdditionalComments />
</CreateEnquiryRequest>
<CreateEnquiryResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<ThirdPartyErrors />
</ReturnStatus>
<EnquiryReference>1234567</EnquiryReference>
<EnquiryID>1234</EnquiryID>
</CreateEnquiryResponse>