|
Description
The als_get_ availability.cgi http interface will retrieve block availability information for all products by date for the parameters given, including seats taken and seats available on given date.
Example Usage http://127.0.0.1/als_get_availability.cgi
Inputs
Parameter
|
Description
|
Required
|
Example
|
Data Type
|
Base
|
Base limit the result set to a specific base
See also als_get_bases.cgi for Base Codes
|
Optional
|
location=5
|
Integer
|
Date
|
|
Required
|
|
Date
|
Returned Fields
#
|
Field Name
|
Description
|
Data Type
|
1
|
Productcode
|
AL-Pro Associated Code
|
Integer
|
2
|
ProductName
|
Name of the Product
|
String
|
3
|
Vendorcode
|
AL-Pro Associated Code
|
Integer
|
4
|
VendorName
|
Name of the Vendor
|
String
|
5
|
CategoryName
|
Name of the Category
|
String
|
6
|
Category
|
AL-Pro Associated Code
|
Integer
|
7
|
LocationName
|
Name of the Location
|
String
|
8
|
LocationCode
|
AL-Pro Associated Code
|
Integer
|
9
|
BlockNo
|
Block Code for this Product
|
Integer
|
10
|
SeatCount
|
Number of Seats already used on this block
|
Integer
|
11
|
Qty
|
Total Seats originally available on this block
|
Integer
|
12
|
Avail
|
Number of seats available on this block for this day
|
Integer
|
13
|
ACTDate
|
The ActivityDate
|
Date
|
XML Example
|