Block API Calls

Top  Previous  Next

 

 

 

Block Methods

Description

als_get_block_defs.api

The als_get_block_defs.cgi web service will retrieve block definitions.

 

als_get_current_blocks.cgi

The als_get_current_blocks.cgi web service will retrieve block definitions similar to als_get_block_defs.cgi but also reutrn vendor, product and location information and limit the result to active block definitions.

 

als_get_block_availability.cgi

The als_get_block_availability.cgi web service is the key API method used to retrieve information about availability of seats on a specific date.

 

als_get_block_voucher_detail.cgi

The als_get_block_voucher_detail.cgi web service will retrieve block voucher information from vouchers that were used on blocks.

 

als_insert_block_adjustment.cgi

The als_get_insert_block_adjustment.cgi.web service inserts an adjustment entry that affects block calculations.Blocks can be manually adjusted via AL-Desk or this API call. Adjustment entries can be retrieved using als_get_block_adjustments.cgi

 

als_insert_block_def.cgi

The als_insert_block_def.cgi interface inserts a new block. Upon a successful execution of this method the block definition will be returned using the format of als_get_block_defs.cgi and will contain the new block:Integer that can be used to update the definition using als_update_block_def.cgi

als_update_block_def.cgi

The als_update_block_def.cgi interface  updates a block definition. Upon a successful execution of this method the block definition will be returned using the format of als_get_block_defs.cgi.

 

als_get_block_adjustments.cgi

The als_get_block_adjustments.cgi.web service will retrieve block adjustment definitions. Blocks can be manually adjusted and the adjustment definitions retrieve entries made using als_insert_block_adjustment.cgi. Every entry in the block adjustment definitions are used in block calculations.