airTripRequest Data Type

A request for a set of flights using the given parameters. For complex trip types, place all flight requests into the outboundFlights array or it will be considered a round trip. Created by nick on 8/5/16.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
excludeAirlines list of airVendor element 0/unbounded A list of airlines to exclude from the returned results.
flights list of flightRequest element 0/unbounded A set of flights that will be part of the trip that is being created. Each flight should have the desired route inside of it.
includeAlternateAirports boolean element 0/1 Whether or not to include alternate airports in the search. An alternate airport is one that is considered close enough to get to during a layover.
includeBasicFares boolean element 0/1 Whether or not to include basic fares in the response.
includeConnections boolean element 1/1 Allow the search to return flights with connections.
includeDirects boolean element 1/1 Allow the search to return flights with stops. If this option is set to false, then flights with connections will also be excluded.
includeInterline boolean element 1/1 Allow the search to return flights with connections between different airlines.
includeManyConnections boolean element 1/1 Whether or not to include trips with more than one connection.
maxResults int element 1/1 The maximum number of results that should be returned.
onlyAirlines list of airVendor element 0/unbounded Allow the search to return only airlines given within this list.
passengerNumber int element 1/1 The number of passengers that will be on this trip.
sortType int element 0/1 The sort type ID that should be applied to this search.

Example

<airTripRequest>
  <maxResults>...</maxResults>
  <flights>
    <departureDate>...</departureDate>
    <departureAirport>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </departureAirport>
    <destinationAirport>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </destinationAirport>
    <departureTimeWindow>...</departureTimeWindow>
    <classOfServiceLevels>
      <name>...</name>
      <code>...</code>
      <value>...</value>
    </classOfServiceLevels>
    <onlyCities>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </onlyCities>
    <excludeCities>
      <code>...</code>
      <countryCode>...</countryCode>
      <latitude>...</latitude>
      <longitude>...</longitude>
      <name>...</name>
      <stateOrCountry>...</stateOrCountry>
      <airportName>...</airportName>
      <region/>
      <timeZone/>
      <retentionOnly>...</retentionOnly>
      <position>...</position>
      <unique>...</unique>
      <alias>...</alias>
    </excludeCities>
  </flights>
  <onlyAirlines>
    <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>
  </onlyAirlines>
  <excludeAirlines>
    <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>
  </excludeAirlines>
  <includeDirects>...</includeDirects>
  <includeConnections>...</includeConnections>
  <includeInterline>...</includeInterline>
  <passengerNumber>...</passengerNumber>
  <includeAlternateAirports>...</includeAlternateAirports>
  <includeManyConnections>...</includeManyConnections>
  <sortType>...</sortType>
  <includeBasicFares>...</includeBasicFares>
</airTripRequest>