als_get_reservation_seats.cgi

Top  Previous  Next

Description

The als_get_reservation_seats.cgi web service will the seat information for a given reservation or for a specific date. This call can be used to show all reservations for a date, that have not been seated using the notseated parameter.

 

It can also be used to return all seating information for a specific reservation.

 

Seats can be added to a reservation using als_insert_reservation_seats.cgi and seats maybe updated using als_update_reservation_seat.cgi

 

You can also get seats for a specific Date+tour or an Event

 

Required params: either Reservation, SeatCode or Event are required

 

or the combination of

Date+Tour

 

 

Example Usage             http://127.0.0.1/als_get_reservation_seats.cgi?reservation=54231

 

http://192.168.0.19/als_get_reservation_seats.cgi?date=2005-04-01&equaltime=07:00&tour=3

 

 

Reservation or date is required.

 

 

Inputs

Parameter

Description

Required

Example

Data Type

Reservation

AL-Pro Associated Reservation code

 

Reservation, SeatCode or Event are required

 

or the combination of

Date+Tour

reservation=54231

Integer

Date

Date of the Tour

Reservation, SeatCode or Event are required

 

or the combination of

Date+Tour

 

date=2005-04-01

 

Tour

AL-Pro Associated Reservation code

 

Optional

tour=3

Integer

Base

AL-Pro Associated Reservation code

 

Optional

base=1

Integer

EqualTime

Time of the Flight will be equal to equalime >=

 

Optional

equaltime=07:00

Time

AfterTime

Time of the Flight will be after or equal to aftertime >=

 

Optional

aftertime=07:00

Time

BeforeTime

Time of the Flight will be before or equal to beforetime <=

Optional

beforetime=09:00

Time

NotSeated

Returns only entries that have not been assigned a set of NotSeated is True. With not Seated as False, only those with a seat are returned.

 

Optional

notseated=true

Boolean

event

EventCode

Reservation, SeatCode or Event are required

 

or the combination of

Date+Tour

event=44243

Integer

 

Returned Fields

#

Field Name

Description

Data Type

1

SeatCode

AL-Pro Associated Code

Integer

2

SeatNo

Seat Number

Integer

3

LastName

Last Name of the Passenger

String

4

FirstName

First Name of the Passenger

String

5

Notes

Notes for this seat

String

6

CheckedIn

Has the passenger been checked in

Boolean


 



 

XML Example

 

<?xml version="1.0" encoding="utf-8" ?> 

- <seats> 

- <Inputs> 

<Param date="2005-04-01" /> 

<Param equaltime="07:00" /> 

<Param tour="3" /> 

<Param params="yes" /> 

</Inputs> 

- <data count="2"> 

<row seatcode="125657" tourtime="7:00:00 AM" tourname="Pontoon Canyon Landing" tour="3" tourdate="4/1/2005" seatno="1" lastname="Zaki" firstname="Brenda" notes="" weight="136" checkedin="True" reservation="23871" /> 

<row seatcode="125658" tourtime="7:00:00 AM" tourname="Pontoon Canyon Landing" tour="3" tourdate="4/1/2005" seatno="2" lastname="Zaki" firstname="Sabah" notes="" weight="182" checkedin="True" reservation="23871" /> 

</data> 

</seats>