als_update_reservation_product.cgi

Top  Previous  Next

Description

The als_update.reservation_product .cgi interface updates product qty on a reservation or removes the product if the quantity passed in is a zero

 

The call takes a Qty:Integer input which is also used to create seat entries for each passenger using the Last Name of the person who created the reservation as default Last Name.

 

If the qty is greater than the previous quanity then an updated is made to delete any seat entries. if a quantity is greater than the previous quantity then seats are added automatically just like on the als_insert_reservation_product.cgi method.

 

Seating information can be updated with more detailed and exact passenger information using the als_update_reservation_seat.cgi .

 

 

Inputs

 

Parameter

Description

Required

Example

Data Type

Reservation

Code of the Reservation

Required

reservation=54232

Integer

ProductCategory

Code of the ProductCategory

Required

productcategory=54

Integer

Qty

Number of Seats

Required

qty=4

 

Integer

Time

Requested Time

 

If an event is already assigned this will not be affected

 

Optional

time=09:00

Time

 

Returned Fields

#

Field Name

Description

Data Type

1

 

 

 

 

 

 

 

 

Upon an successful call to als_update_reservation_product.cgi the actual row updated is returned. If a product is remove then no row is returned.