====== Quick Search Trips method ======
This method is **deprecated**. We will not include this method in the next API version.
Returns a list of trips (round trips) by sending ''query'' string.
Query string is a string that user enters in quick search field.
===== Valid content types =====
* ''trips''
===== Description =====
public array quickSearchTrips( string $searchString, array $filter )
===== Parameters =====
* ''searchString'' : search string (keywords)
* ''filter (array)'' : some additional filters to be used in query.
* ''[toc] (array)'' , a list of tour operators
* ''[lang] (String)'' , return language code
* ''[elive_keypords] (bool)'' , if set to **TRUE** then keywords in Elive Catalog are taken into account
===== Return Values =====
Gets a list of trips that matches query string.
Array
(
[2221151933921] => Array
(
[htn] => Madeira in Lizbona
[hon] =>
[gid] => 2221151933921
[stc] => 0.0
[rgc] => 0
)
[2223712405057] => Array
(
[htn] => Madeira-vrt Atlantika
[hon] =>
[gid] => 2223712405057
[stc] => 0.0
[rgc] => 0
)
)
===== Return parameters =====
* ''htn'' : object name
* ''gid'' : object GIATA ID
* ''rgc'' : region code
===== Examples =====
* Example of ''quickSearchTrips'' request
$key = 'madeira';
$filter = array(
'lang' => 'si',
'elive_keypords' => true,
'toc' => array('PALM','PHPL'),
);
$results = $soapClient->orsxml_quick_search_api_call( 'quickSearchTrips', $key, $filter );