Flight Imports can be created in the Flight Import module through iVectorConnect. This call can be used to create a new Import with any number of sectors or to update the details of an existing Import and add sectors to it.
The structure of the XML will be:
The response returns a unique identifier for the Import created/updated in iVector, the name of the Import and the number of sectors created.
The structure of the XML will be:
<CreateFlightImportRequest>
<LoginDetails>
<Login>test</Login>
<Password>test</Password>
</LoginDetails>
<FlightImportName>Test MultiSector Flight Import</FlightImportName>
<SupplierID>553</SupplierID>
<CurrencyID>1</CurrencyID>
<FlightClassID>1</FlightClassID>
<CostType>Flight Price</CostType>
<RequiresConfirmation>false</RequiresConfirmation>
<OneWaysPermitted>false</OneWaysPermitted>
<FlightsToResell>false</FlightsToResell>
<Status>Live</Status>
<Notes>TestImport1</Notes>
<FlightImportJourneys>
<FlightImportJourney>
<FlightCarrierID>14</FlightCarrierID>
<FlightImportJourneySectors>
<FlightImportJourneySector>
<DepartureAirportID>46</DepartureAirportID>
<ArrivalAirportID>20</ArrivalAirportID>
<FlightCode>EK12</FlightCode>
<DepartureDate>2024-07-22T00:00:00 </DepartureDate>
<DepartureTime>14:30</DepartureTime>
<ArrivalDate>2024-07-23</ArrivalDate>
<ArrivalTime>00:30</ArrivalTime>
</FlightImportJourneySector>
<FlightImportJourneySector>
<FlightCarrierID>84</FlightCarrierID>
<DepartureAirportID>20</DepartureAirportID>
<ArrivalAirportID>38</ArrivalAirportID>
<FlightCode>EK346</FlightCode>
<DepartureDate>2024-07-23T00:00:00 </DepartureDate>
<DepartureTime>03:35</DepartureTime>
<ArrivalDate>2024-07-23</ArrivalDate>
<ArrivalTime>14:30</ArrivalTime>
</FlightImportJourneySector>
</FlightImportJourneySectors>
<Allocation>40</Allocation>
<StopSale>false</StopSale>
<Distressed>false</Distressed>
<AdultCost>1500.00</AdultCost>
<ChildCost>1200.69</ChildCost>
<InfantCost>800.22</InfantCost>
<AdultTax>250.69</AdultTax>
<ChildTax>100.55</ChildTax>
<InfantTax>0.00</InfantTax>
<AdultPrice>1800.00</AdultPrice>
<ChildPrice>1410.84</ChildPrice>
<InfantPrice>821.59</InfantPrice>
</FlightImportJourney>
<FlightImportJourney>
<FlightCarrierID>14</FlightCarrierID>
<FlightImportJourneySectors>
<FlightImportJourneySector>
<DepartureAirportID>38</DepartureAirportID>
<ArrivalAirportID>20</ArrivalAirportID>
<FlightCode>EK347</FlightCode>
<DepartureDate>2024-08-05T00:00:00 </DepartureDate>
<DepartureTime>21:30</DepartureTime>
<ArrivalDate>2024-08-06</ArrivalDate>
<ArrivalTime>00:30</ArrivalTime>
</FlightImportJourneySector>
<FlightImportJourneySector>
<FlightCarrierID>84</FlightCarrierID>
<DepartureAirportID>20</DepartureAirportID>
<ArrivalAirportID>46</ArrivalAirportID>
<FlightCode>EK10</FlightCode>
<DepartureDate>2024-08-06T00:00:00 </DepartureDate>
<DepartureTime>02:35</DepartureTime>
<ArrivalDate>2024-08-06</ArrivalDate>
<ArrivalTime>07:30</ArrivalTime>
</FlightImportJourneySector>
</FlightImportJourneySectors>
<Allocation>40</Allocation>
<StopSale>false</StopSale>
<Distressed>false</Distressed>
<AdultCost>1500.00</AdultCost>
<ChildCost>1200.69</ChildCost>
<InfantCost>800.22</InfantCost>
<AdultTax>250.69</AdultTax>
<ChildTax>100.55</ChildTax>
<InfantTax>0.00</InfantTax>
<AdultPrice>1800.00</AdultPrice>
<ChildPrice>1410.84</ChildPrice>
<InfantPrice>821.59</InfantPrice>
</FlightImportJourney>
</FlightImportJourneys>
</CreateFlightImportRequest>
<CreateFlightImportResponse>
<ReturnStatus>
<Success>true</Success>
<Exceptions />
<ThirdPartyErrors />
</ReturnStatus>
<FlightImportID>4200</FlightImportID>
<FlightImportName>NRT-SYD May 2023</FlightImportName>
<CreatedJourneys>2</CreatedJourneys>
</CreateFlightImportResponse>