Table of Contents

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

Description

public array quickSearchTrips( string $searchString, array $filter )

Parameters

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

Examples

$key = 'madeira';
$filter = array(
  'lang' => 'si',
  'elive_keypords' => true,
  'toc' => array('PALM','PHPL'),
);
 
$results = $soapClient->orsxml_quick_search_api_call( 'quickSearchTrips', $key, $filter );