als_insert_reservation_product.cgi

Top  Previous  Next

Description

The als_insert_reservation_product .cgi interface inserts a product onto a reservation. The call takes a Quantity: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. Seating information can be updated with more detailed and exact passenger information using the als_update_reservation_seat.cgi .

 

A product code as well as a product category is also required.

 

If this call is made with a productcategory that already exists on a reservation and error will be returned.

 

<error>

<row>

<row error="Product Category 1 already exists on reservation 38311" errorcode="0"/>

</row>

</error>

 

Inputs

Parameter

Description

Required

Example

Data Type

Reservation

Code of the Reservation

Required

reservation=54232

Integer

Product

Code of the product

 

Required

product=1001

Integer

ProductCategory

Code of the ProductCategory

Required

productcategory=54

Integer

Qty

Number of Seats

Required

qty=4

 

Integer

Time

Requested Time

Optional

time=09:00

Time

 

 

Returned Fields

#

Field Name

Description

Data Type

1

 

 

 

 

 

 

 

 

Upon an successful call to als_insert_reservation_product.cgi the actual inserted row is returned that will include the generated unique identifier that can be used to update any reservation product row using also_update_reservation_product.cgi (not Implemented )