als_update_reservation_giftcert.cgi

Top  Previous  Next

Description

The als_update_reservation_giftcert.cgi interface updates an existing reservations giftcert column. The call requires a reservation:integer and can  be preformed on both reservations created by the webportal and those not created by the webportal.

 

The first time that the giftcert is set to true, the reservation WaitListThroughDate is updated with the base setting of GiftCertDaysValid (default 365). So a reservation with the giftcert set active on 5 May 2009 would get a waitListThroughDate set to 5 May 2010.

 

When the giftcert is set to false the WaitListThroughDate is not modified preserving the existing setting.

 

Any use of this call by the webportal triggers reservation logging showing the activity.

 

 

 

Inputs

Parameter

Description

Required

Example

Data Type

reservation

Code of the Reservation

Required

reservation=54232

Integer

giftcert

GiftCert activity status

 

Required

giftcert=true

Boolean

 

 

 

Upon an successful call to als_update_reservation_gift_cert.cgi the full reservation information is returned in the format of als_get_reservation.cgi