|
Description
The als_get_product_availability.cgi interface will retrieve availability information for a given product date as opposed to using a tour with als_get_events.cgi
This is the same call as als_get_events.cgi but with a fancier name.
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
|
product
|
Product code . see als_get_products.cgi
|
Optional
|
product=23
|
Integer
|
date
|
Date of the flight
If no date is input todays date will be used by default
|
Yes
|
date=2005-04-01
|
Date
|
tour
|
ALS Associated code of the Tour als_get_tours.cgi
|
Optional
|
tour=5
|
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
|
|