Table of contents
-
- Search methods
- Check methods
- Booking methods
- Info methods
Data export
- Methods
Table of contents
Data export
This is an old revision of the document!
Get a list of touroperator objects.
hotel
(at the moment only this content type is supported)searchData (array)
: search parameters. Required serach parameters: toc
. Non mandatory parameters: objectId
headerData (array)
: in addition to SOAP Header Information , you'll need export account information (xuser
, xpass
)Returns a list of available objects. Here is an example of output:
array ( [objects] => Array ( [0] => Array ( [id] => 4081 [objectName] => Apartmaji Vila Maia [objectPlace] => Strunjan [objectCountryIso] => SI ) [1] => Array ( [id] => 5471 [objectName] => Vile Terme ZreÄe [objectPlace] => ZreÄe [objectCountryIso] => SI ) [2] => Array ( [id] => 7871 [objectName] => Villa Piranesi [objectPlace] => Piran [objectCountryIso] => SI ) ...
objects
(array) : list of objectsid
: object IDobjectName
: object nameobjectPlace
: object placeobjectCountryIso
: object country ISO code$searchParams = array( 'toc' => 'APP', // touroperator code ); $objects = $soapClient->orsxml_hotel_api_call( 'getObjects', $searchParams, $header );
$searchParams = array( 'toc' => 'APP', // touroperator code 'objectId' => '4081', // object id ); $objects = $soapClient->orsxml_hotel_api_call( 'getObjects', $searchParams, $header );