als_get_hotels.cgi

Top  Previous  Next

Description

The als_get_hotels.cgi interface all retrieve all hotelss available to in your system based on products that are active and web enabled. and the associated AL-Desk code for the hotel.

 

 

Example Usage              http://127.0.0.1/als_get_hotels.cgi

 

 

Inputs

Parameter

Description

Required

Example

Data Type

Location

Location Code to limit the result set to a specific location

 

See also als_get_locations.cgi for Location Codes.

Optional

location=5

Integer

 

 

 

 

 

 

 

Returned Fields

#

Field Name

Description

Data Type

1

Name

Name of the Hotel

String

2

Code

AL-Desk Associated Hotel Code

Integer

3

Locaton

AL-Desk Associated Location code

Integer

4

LocationName

Name of the Location for the Hotel

String

 

Example XML

 

 

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

- <root>

- <hotels>

<row code="220" name="Castle Hilo Hawaiian Hotel" location="1" locationname="Big Island" />

<row code="210" name="Marriott Waikaloa" location="1" locationname="Big Island" />

</hotels>

</root>