simpleFlightOption Data Type

A flight, or leg of a flight from one airport to another. Created by nick on 7/28/16.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
aircraft aircraftType element 0/1 The aircraft that the airline will be using to service the flight.
airline airVendor element 0/1 The airline that is marketing this flight.
arrivalAirport city element 0/1 The arriving airport for this flight.
arrivalDate string element 0/1 The arrival date.
arrivalTerminal string element 0/1 The arrival terminal.
availableSeats int element 1/1 The number of available seats.
classOfService classOfService element 0/1 The class of service for this flight.
departureAirport city element 0/1 The departing airport for this flight.
departureDate string element 0/1 The departure date.
departureTerminal string element 0/1 The departure terminal.
flightNumber string element 0/1 The flight number.
governmentRate boolean element 1/1 Whether or not this flight has a rate that is negotiated by the government.
mileage int element 1/1 The number of miles that will be added to flight rewards programs.
numberOfStops int element 1/1 The number of stops that this flight will take during the trip. Stops are typically for things like refueling.
operatingAirline airVendor element 0/1 The airline that is operating the flight. Also referred to as Code Share.
percentageOnTime int element 0/1 The percentage chance that this flight is on time.
refundable boolean element 1/1 Whether or not this flight is refundable.

Example

<simpleFlightOption>
  <airline>
    <airlineNumber>...</airlineNumber>
    <checkinLink>...</checkinLink>
    <baggageLink>...</baggageLink>
    <alliance>
      <sharesFrequentFlyerNumbers>...</sharesFrequentFlyerNumbers>
      <name>...</name>
      <code>...</code>
    </alliance>
    <lowCostCarrier>...</lowCostCarrier>
    <longCode>...</longCode>
    <manualTicketingOnly>...</manualTicketingOnly>
    <airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
    <mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
    <minDomesticValue>...</minDomesticValue>
    <minIntlValue>...</minIntlValue>
    <position>...</position>
    <imageUrl>...</imageUrl>
    <code>...</code>
    <name>...</name>
  </airline>
  <operatingAirline>
    <airlineNumber>...</airlineNumber>
    <checkinLink>...</checkinLink>
    <baggageLink>...</baggageLink>
    <alliance>
      <sharesFrequentFlyerNumbers>...</sharesFrequentFlyerNumbers>
      <name>...</name>
      <code>...</code>
    </alliance>
    <lowCostCarrier>...</lowCostCarrier>
    <longCode>...</longCode>
    <manualTicketingOnly>...</manualTicketingOnly>
    <airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
    <mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
    <minDomesticValue>...</minDomesticValue>
    <minIntlValue>...</minIntlValue>
    <position>...</position>
    <imageUrl>...</imageUrl>
    <code>...</code>
    <name>...</name>
  </operatingAirline>
  <departureTerminal>...</departureTerminal>
  <arrivalTerminal>...</arrivalTerminal>
  <departureDate>...</departureDate>
  <arrivalDate>...</arrivalDate>
  <flightNumber>...</flightNumber>
  <availableSeats>...</availableSeats>
  <classOfService>
    <vendor>
      <airlineNumber>...</airlineNumber>
      <checkinLink>...</checkinLink>
      <baggageLink>...</baggageLink>
      <alliance/>
      <lowCostCarrier>...</lowCostCarrier>
      <longCode>...</longCode>
      <manualTicketingOnly>...</manualTicketingOnly>
      <airTicketsUseOrigIssueDate>...</airTicketsUseOrigIssueDate>
      <mcoTicketsUseOrigIssueDate>...</mcoTicketsUseOrigIssueDate>
      <minDomesticValue>...</minDomesticValue>
      <minIntlValue>...</minIntlValue>
      <position>...</position>
      <imageUrl>...</imageUrl>
    </vendor>
    <code>...</code>
    <description>...</description>
    <serviceLevel>
      <name>...</name>
      <code>...</code>
      <value>...</value>
    </serviceLevel>
    <basic>...</basic>
    <transAtlantic>...</transAtlantic>
    <id>...</id>
    <version>...</version>
  </classOfService>
  <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>
  <arrivalAirport>
    <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>
  </arrivalAirport>
  <mileage>...</mileage>
  <refundable>...</refundable>
  <aircraft>
    <code>...</code>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </aircraft>
  <percentageOnTime>...</percentageOnTime>
  <numberOfStops>...</numberOfStops>
  <governmentRate>...</governmentRate>
</simpleFlightOption>