|
Description
The als_get_tours_agency.cgi interface will retrieve all tours as defined by agency price schedules. If no agency is defined the default agency will be used.
Example Usage http://127.0.0.1/als_get_tours_agency.cgi?agency=1
agency[Integer]
base[Integer]
date[Date]
product[Integer]
tour[Integer]
Inputs
Parameter
|
Description
|
Required
|
Example
|
Data Type
|
agency
|
Agency Code is required but if a default setting exist it will be added if there is no agency param found
|
Optional
|
agency=227
|
Integer
|
Base
|
Base Code to limit the result set to a specific base
See also als_get_bases.cgi for Base Codes.
|
Optional
|
base=2
|
Integer
|
date
|
Sets the date that the Agency Price Schedule is Active
If the date is omitted then todays date will be used
|
Optional
|
date=2007-09-01
|
Date
|
product
|
Product Code to limit the result set to a specific product.
See also als_get_products.cgi for Product Codes
|
Optinal
|
product=1
|
Integer
|
tour
|
Tour Code to limit the result set to a specific tour.
See also als_get_tours.cgi for Tour Codes
|
Optioanl
|
tour=3
|
Integer
|
|
|
|
|
|
Returned Fields
#
|
Field Name
|
Description
|
Data Type
|
1
|
Code
|
AL-Pro Associated Code
|
Integer
|
2
|
TourName
|
Name of the Tour
|
String
|
3.
|
Capacity
|
Capcacity of the Tour
|
Integer
|
4.
|
DurationMinutes
|
Duration of the Tour in Minutes
|
Integer
|
5
|
BaseCode
|
AL-Pro Associated Code
|
Integer
|
6
|
Base Name
|
Name of the Base
|
String
|
|