flightRequest Data Type

A request for flight information using the given parameters. Created by nick on 7/28/16.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
classOfServiceLevels list of classOfServiceLevel element 0/unbounded Accepted service levels to search for. If empty, all service levels will be returned by default. Also referred to as cabin class by some providers.
departureAirport city element 0/1 The airport to depart from. Either the ID or the code can be filled.
departureDate string element 0/1 The desired departure date for the trip.
departureTimeWindow int element 1/1 The difference (in hours) from the given start date that are acceptable to return as flight options.
destinationAirport city element 0/1 The airport to depart from for the returning flight.
excludeCities list of city element 0/unbounded Cities that are not allowed as connections between the origination and destination.
onlyCities list of city element 0/unbounded Cities that are allowed as connections between the origination and destination.

Example

<flightRequest>
  <departureDate>...</departureDate>
  <departureAirport>
    <code>...</code>
    <countryCode>...</countryCode>
    <latitude>...</latitude>
    <longitude>...</longitude>
    <name>...</name>
    <stateOrCountry>...</stateOrCountry>
    <airportName>...</airportName>
    <region>
      <name>...</name>
      <code>...</code>
      <country/>
      <position>...</position>
    </region>
    <timeZone>
      <name>...</name>
      <offset>...</offset>
      <daylightSavingsOffset>...</daylightSavingsOffset>
    </timeZone>
    <retentionOnly>...</retentionOnly>
    <position>...</position>
    <unique>...</unique>
    <alias>...</alias>
    <id>...</id>
    <version>...</version>
  </departureAirport>
  <destinationAirport>
    <code>...</code>
    <countryCode>...</countryCode>
    <latitude>...</latitude>
    <longitude>...</longitude>
    <name>...</name>
    <stateOrCountry>...</stateOrCountry>
    <airportName>...</airportName>
    <region>
      <name>...</name>
      <code>...</code>
      <country/>
      <position>...</position>
    </region>
    <timeZone>
      <name>...</name>
      <offset>...</offset>
      <daylightSavingsOffset>...</daylightSavingsOffset>
    </timeZone>
    <retentionOnly>...</retentionOnly>
    <position>...</position>
    <unique>...</unique>
    <alias>...</alias>
    <id>...</id>
    <version>...</version>
  </destinationAirport>
  <departureTimeWindow>...</departureTimeWindow>
  <classOfServiceLevels>
    <name>...</name>
    <code>...</code>
    <value>...</value>
    <id>...</id>
    <version>...</version>
  </classOfServiceLevels>
  <onlyCities>
    <code>...</code>
    <countryCode>...</countryCode>
    <latitude>...</latitude>
    <longitude>...</longitude>
    <name>...</name>
    <stateOrCountry>...</stateOrCountry>
    <airportName>...</airportName>
    <region>
      <name>...</name>
      <code>...</code>
      <country/>
      <position>...</position>
    </region>
    <timeZone>
      <name>...</name>
      <offset>...</offset>
      <daylightSavingsOffset>...</daylightSavingsOffset>
    </timeZone>
    <retentionOnly>...</retentionOnly>
    <position>...</position>
    <unique>...</unique>
    <alias>...</alias>
    <id>...</id>
    <version>...</version>
  </onlyCities>
  <excludeCities>
    <code>...</code>
    <countryCode>...</countryCode>
    <latitude>...</latitude>
    <longitude>...</longitude>
    <name>...</name>
    <stateOrCountry>...</stateOrCountry>
    <airportName>...</airportName>
    <region>
      <name>...</name>
      <code>...</code>
      <country/>
      <position>...</position>
    </region>
    <timeZone>
      <name>...</name>
      <offset>...</offset>
      <daylightSavingsOffset>...</daylightSavingsOffset>
    </timeZone>
    <retentionOnly>...</retentionOnly>
    <position>...</position>
    <unique>...</unique>
    <alias>...</alias>
    <id>...</id>
    <version>...</version>
  </excludeCities>
</flightRequest>