CM1 Flight documentation

Associations

  1. Aircraft aircraft

    Choose from
    Aircraft
    Default identifier
    icao_code
    Example
    http://impact.brighterplanet.com/flights?aircraft=A124
    Example
    http://impact.brighterplanet.com/flights?aircraft[icao_code]=A124
  2. Airline airline

    Choose from
    Airlines
    Default identifier
    name
    Example
    http://impact.brighterplanet.com/flights?airline=1time+Airline
    Example
    http://impact.brighterplanet.com/flights?airline[name]=1time+Airline
  3. Destination airport destination_airport

    Choose from
    Destination airports
    Default identifier
    iata_code
    Example
    http://impact.brighterplanet.com/flights?destination_airport=04G
    Example
    http://impact.brighterplanet.com/flights?destination_airport[iata_code]=04G
  4. Distance class distance_class

    Choose from
    Distance classes
    Default identifier
    name
    Example
    http://impact.brighterplanet.com/flights?distance_class=long+haul
    Example
    http://impact.brighterplanet.com/flights?distance_class[name]=long+haul
  5. Fuel fuel

    Choose from
    Fuels
    Default identifier
    name
    Example
    http://impact.brighterplanet.com/flights?fuel=Aviation+Gasoline
    Example
    http://impact.brighterplanet.com/flights?fuel[name]=Aviation+Gasoline
  6. Origin airport origin_airport

    Choose from
    Origin airports
    Default identifier
    iata_code
    Example
    http://impact.brighterplanet.com/flights?origin_airport=04G
    Example
    http://impact.brighterplanet.com/flights?origin_airport[iata_code]=04G
  7. Seat class seat_class

    Choose from
    Seat classes
    Default identifier
    name
    Example
    http://impact.brighterplanet.com/flights?seat_class=business
    Example
    http://impact.brighterplanet.com/flights?seat_class[name]=business

Attributes

  1. Date date

    Accepts
    Date
    Example
    http://impact.brighterplanet.com/flights?date=…
  2. Distance estimate distance_estimate

    Accepts
    Float
    Measures
    Kilometres
    Example
    http://impact.brighterplanet.com/flights?distance_estimate=…
  3. Flight segment row hash flight_segment_row_hash

    Accepts
    String
    Example
    http://impact.brighterplanet.com/flights?flight_segment_row_hash=…
  4. Load factor load_factor

    Accepts
    Float
    Example
    http://impact.brighterplanet.com/flights?load_factor=…
  5. Seats seats

    Accepts
    Integer
    Example
    http://impact.brighterplanet.com/flights?seats=…
  6. Segments per trip segments_per_trip

    Accepts
    Integer
    Example
    http://impact.brighterplanet.com/flights?segments_per_trip=…
  7. Trips trips

    Accepts
    Integer
    Example
    http://impact.brighterplanet.com/flights?trips=…