Sample Response

The following is a sample of an Flight Information eBL response. To view the request sample without annotation, go to the unannotated version.

Explanation

Code

Indicates the namespace used.

<GetInformationResponse xmlns="http://webservices.galileo.com/FlightInformation">

 

<GetInformationResult>

 

<GWS_FlightInformationRS Version="1.0.021920031717" xmlns="http://ns.galileo.com">

Begins the description of the results of the request.

   <Flights>

Begins the description of the flight information.

     <Flight   

The airline code of the requested airline.

      airline="HP"

The date of the requested flight.

      date="2005-10-13"

The destination of the requested flight.

      dest="EWR"

The flight number of the requested flight.

      number="216"

The number of legs in the flight

      numberOfLegs="1"

The origin of the requested flight.

      orig="LAS"

The source of the  flight information.

Schedules indicates that the flight information is not in real-time but the scheduled information.

An airline code indicates that the flight information is the actual, real-time information about the requested flight.

      source="schedule">

Begins special details area.

       <Messages>

Indicates any special details for the requested flight.

          <Message> Message text for this flight in
  general. </Message>

Ends the special details area.

      </Messages>

Begins the details of the departure and arrival cities.

      <Cities>

The departure city.

         <City code="LAS">

The departure aircraft type of the requested fligh, electronic ticket indicator, end terminal, flight time, meal, scheduled date and time, and the start terminal. Can contain details on whether or not a meal is served in the flight, if known.

           <Departure aircraftType="757" electronicTicket="Y" endTerminal="A" flightTime="04:59" meal="F" scheduledDateTime="2005-10-13T15:57:00-00:00" startTerminal="1">

Ends the departure city details.

         </City>

The arrival city.

         <City code="EWR">

The arrival time and date for the requested flight.

           <Arrival scheduledDateTime="2005-10-13T23:56:00-00:00"/>

Begins the variance area. If no variances exist, this section is omitted.

         <Variances>

Indicates any variance in the requested flight. The variance area contains:

  • Type

  • Time

  • Indicator

  • Reason

The variance area will only display if there is a change in the scheduled flight information.

           <Variance type="{actual | estimated | canceled
   | diversion}" time="13:20:00-05:00"
   indicator="early | late (may not exist)"
   reason="reason (may not exist)"/>

Ends the variance and arrival section.

          </Variances>

        </Arrival>

Ends the arrival city details.

         </City>

Messages for this flight in general

         <Messages/>

Ends the details of the departure and arrival cities.

       </Cities>

Ends the description of the flight information.

     </Flight>

Ends the description of the results of the request.

   </Flights>

Begins the decoding of the requested flight.

     <Decode Version="1.0.021920031717" xmlns="">

Decodes the airline.

       <Airline Code="HP">America West Airlines</Airline>

Decodes the departure city.

       <City Code="LAS" CountryCode="US" StateProvinceCode="NV">Las Vegas</City>

Decodes departure airport

        <Airport AirportType="2" CityCode="LAS" CityName="LAS VEGAS"

          Code="LAS" CountryCode="US"

          StateProvinceCode="NV">McCarran Intl</Airport>

Decodes the aircraft type.

       <AircraftType Code="757">Boeing 757-
200</AircraftType>

Decodes meal

       <MealService Code="F">Food to buy</MealService>

Decodes the arrival city.

       <City Code="EWR" CountryCode="US" StateProvinceCode="NJ">Newark</City>

Decodes arrival airport

       <Airport AirportType="2" CityCode="EWR" CityName="NEWARK"

Code="EWR" CountryCode="US" StateProvinceCode="NJ">Newark Intl Arpt</Airport>

Ends the decoding of the requested flight.

     </Decode>

 

</GWS_FlightInformationRS>

 

</GetInformationResult>

 

</GetInformationResponse>