als_get_events.cgi

Top  Previous  Next

Description

The als_get_events.cgi interface will retrieve flight information for a given base and date and include seating availability and weight information.

 

 

Example Usage             http://192.168.0.19/als_get_events.cgi?base=1&date=2005-04-01&seats=1

 

Inputs

Parameter

Description

Required

Example

Data Type

base

Base Code to limit the result set to a specific base

 

See also als_get_bases.cgi for Base Codes.

 

Yes

base=2

Integer

date

Date of the flight. If no date is input today's name will be used by default.

 

Yes

date=2005-04-01

Date

days

Include the number of days after the date so you can see a range of days.

 

Optional

days=3

Integer

tour

ALS Associated code of the Tour als_get_tours.cgi

 

Optional

tour=5

Integer

product

ALS Associated code of the product. als_get_products.cgi

 

Optional

product=2

Integer

aftertime

Time of the Flight will be after or equal to aftertime >=

 

Optional

aftertime=13:00

Time

beforetime

Time of the Flight will be before or equal to beforetime <=

 

Optional

beforetime=13:00

Time

equaltime

Time of the Flight will be equal  to equaltime =

Optional

equaltime=09:00

Time

seats

Limits the returned result to events with seats > then or equal to the input value

Optional

seats=1

Integer

vessel

ALS associated code for a vessel

 

 

Optional

vessel=9

Integer

 

{Field format subject to change so not documented currently]

 

Returned Fields

#

Field Name

Description

Data Type

1




2




3.




4.




5




6




 

http://192.168.0.5/als_get_schedule.cgi?base=1&date=2005-04-01&beforetime=09:00

 

 

<?xml version="1.0" encoding="utf-8" ?> 

- <eventse> 

- <Inputs> 

<Param base="1" /> 

<Param date="2005-04-01" /> 

<Param seats="1" /> 

</Inputs> 

- <data count="19"> 

<row datevalue="4/1/2005" eventcode="8546" flighttime="6:50:00 PM" tour="17" vessel="9" vesselname="N121US-33" operator="20" openvesselno="0" tourshortname="ENIT" tourname="Exclusive Night Flight" pilotshortname="SW" capacity="2" threshold="0" operatorweight="260" aftbaggageweight="" maxgrossweight="4630" configgrossweight="2928" configurationname="" seats="0" notcheckedin="0" paxweight="0" status="" durationminutes="15" weightdata="547.08" seatsavail="2" /> 

<row datevalue="4/1/2005" eventcode="8547" flighttime="7:01:00 PM" tour="5" vessel="9" vesselname="N121US-33" operator="20" openvesselno="0" tourshortname="NIT" tourname="Night Flight" pilotshortname="SW" capacity="6" threshold="1" operatorweight="260" aftbaggageweight="" maxgrossweight="4630" configgrossweight="2928" configurationname="" seats="5" notcheckedin="0" paxweight="769" status="" durationminutes="15" weightdata="317.13" seatsavail="1" /> 

<row datevalue="4/1/2005" eventcode="8550" flighttime="7:02:00 PM" tour="5" vessel="9" vesselname="N121US-33" operator="20" openvesselno="0" tourshortname="NIT" tourname="Night Flight" pilotshortname="SW" capacity="6" threshold="1" operatorweight="260" aftbaggageweight="" maxgrossweight="4630" configgrossweight="2928" configurationname="" seats="5" notcheckedin="0" paxweight="895" status="" durationminutes="15" weightdata="269.23" seatsavail="1" /> 

<row datevalue="4/1/2005" eventcode="8555" flighttime="7:02:00 PM" tour="5" vessel="8" vesselname="N350HG-35" operator="80" openvesselno="1" tourshortname="NIT" tourname="Night Flight" pilotshortname="Pin" capacity="6" threshold="1" operatorweight="175" aftbaggageweight="" maxgrossweight="4630" configgrossweight="2939" configurationname="" seats="5" notcheckedin="0" paxweight="1103" status="" durationminutes="15" weightdata="365.04" seatsavail="1" /> 

</data> 

</events>