Ticketed Reservation Overview

Top  Previous  Next

The following details the sequences of calls that are used when creating a reservation in AL-Pro when your AL-Pro deployment supports a "seating" chart and individual ticketed seats are being used.

 

 

Item

Description

Get available seating by passing a date into als_get_seats_recap.cgi

 

als_get_seats_recap.cgi?date=2008-01-31

 

 

Not only returns the type of seating available but also returns an event code that is used with creating a reservation.

Create a reservation using a date and an event.

 

als_insert_reservation.cgi?date=2008-02-01&LastName=Lohan&firstName=Lindsey&event=839

 

 

Note that the date and event code are passed into the insert reservation call. The xml will return the reservation number that is used in subsequence calls.

Add some products. this will create the seats but not seat them to specific seats.

 

als_insert_reservation_product.cgi?product=1&productcategory=1&qty=2&reservation=118431

 

 

You can use als_get_reservation.cgi with the complete=true param to bring back all the reservation info including product and seat information.

Note that the reservation number is required. "Seats" are created as part of the reservation but specific seats are not "assigned".

 

After you insert the product, you can get the seatcodes required to assign specific seats by calling

 

als_get_reservation_seats.cgi?reservation=118431

 

 



Get specific seats availability using als_get_seats.cgi

 

als_get_seats.cgi?date=2008-01-31&open=true&seatinfo=true

 

To get available seats where you can use the tablecode to assign a seat to a reservation.

 

Using the open=true parameter will show only available seats. seatinfo=true brings back less xml with just the information you need.

 

Seats can be assigned using the seatcode from the reservation along with a tablecode of one of the available seats.

 

als_reservation_assign_seat.cgi?reservation=118431&seatcode=359935&tablecode=4325

 

 

You can remove seats also with this same call using the remove=true parameter.