als_get_Availability.cgi

Top 

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 by product

 

Example Usage             http://127.0.0.1/als_get_availability.cgi

 

Inputs

Parameter

Description

Required

Example

Data Type

Location

LocationCode to limit the result set to a specific location

 

See also als_get_locations.cgi for Location Codes

 

Optional

location=5

Integer

Category

Category Code to limit the result set to a specific category

 

See also als_get_categories.cgi for Category Codes

 

Optional

category=2

Integer

Vendor

Vendor to limit the result set to a specific vendor

 

See also als_get_vendors.cgi for Vendor Codes

 

 

Optional

vendor=4

Integer

Product

Product to limit the result set to a specific product

 

See also als_get_products.cgi for Vendor Codes

 

Optional

product=2

Integer

StartDate

Results limited to those that are greater and equal to the input date.

 

 

Required

date=20050110

 

or

 

date=today

for todays date

Date

EndDate

 

Required

 

Date

StartTime

Search time for Block Information

Required

 

 

End Time

Search time for Block Information

 

Required

 

 

 

 

Returned Fields

#

Field Name

Description

Data Type

1

Productcode

AL-Desk Associated Code

Integer

2

ProductName

Name of the Product

String

3

Vendorcode

AL-Desk Associated Code

Integer

4

VendorName

Name of the Vendor

String

5

CategoryName

Name of the Category

String

6

Category

AL-Desk Associated Code

Integer

7

LocationName

Name of the Location

String

8

LocationCode

AL-Desk 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