- 2.3. Class orsxml_api
2.3.1. info - 2.3. Class orsxml_api
« Previous - 2.3.2. isStageBooking
Next »
2.3.1. info
Basic information about Hotel and region
To get some basic info about Hotel, Region, Weather, Ratings, Climate and Geo location use orsxml_api->info() method. This will return an information of all the listed chategories.
Description
public array info( array $searchData, mixed $headerData )
Parameters
$searchData : this array must contain a combination of the following parameters:
- gid : giata id - this is a unique id for each offer (hotel, trip) and different tour operators can hava a same giata id for a same hotel
- toc : tour oparator code - each tour operator have a unique code (this is called also a CRS code)
- htc : hotel code - hotel code or product code is defined by tour operators. Each tour operator have a unique htc for different hotel that they sells.
- rgc : region code - each region have ist unique id which is called rgc
- zhC : iata code - this is reffered to destination airport and is used in charter and onway content types.
$headerData : Check introduction for more infrotmation
Use example:
$searchData = array( 'gid' => 3306, 'toc' => 'FTI', 'rgc' => '133', 'zhc' => 'PMI' ); $info = $soapClient->orsxml_api_call( 'info', $searchData, $header );
@return array(
'hotel_info'=> array(),
'weather_info' => array(..),
'region_info' => array(..),
'votes_info' => array(..),
'climate_info' => array(..),
'geo_info' => array(..)
)
- 2.3.1. info
2.3. Class orsxml_api - « Previous
2.3. Class orsxml_api - Next »
2.3.2. isStageBooking