User Tools

Site Tools


ors-soap-api:public:regions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
ors-soap-api:public:regions [2017/12/13 15:57]
admin [Examples]
ors-soap-api:public:regions [2019/07/15 09:57]
admin [Return parameters]
Line 46: Line 46:
     [top_regions] => Array     [top_regions] => Array
         (         (
 +        )
 +
 +    [rfilters] => Array
 +        (
 +          [ppc] => "​26-27"​
         )         )
  
Line 85: Line 90:
  
   * ''​top_regions (array)''​ : a list of top regions (this list depends on a filter ''​$topOffersFilter'',​ if this filter is not set then this array is empty.   * ''​top_regions (array)''​ : a list of top regions (this list depends on a filter ''​$topOffersFilter'',​ if this filter is not set then this array is empty.
 +  * ''​rfilters (array)''​ : range filters
 +    * ''​ppc''​ : filters by price per person
   * ''​regions (array)''​ : a list of region groups   * ''​regions (array)''​ : a list of region groups
     * ''​region''​ : region group name     * ''​region''​ : region group name
Line 113: Line 120:
 </​code>​ </​code>​
  
-  * Example with top offers filtes+  * Example with top offers filtes ​and range filters
  
 <code php> <code php>
Line 121: Line 128:
   '​tdc'​ => '​1-4', ​             // duration [min-max] days   '​tdc'​ => '​1-4', ​             // duration [min-max] days
   '​epc'​ => '​2', ​               // number of adults   '​epc'​ => '​2', ​               // number of adults
 +  '​rfilter'​ => [
 +     '​ppc'​ => '​200-400' ​       // filter by price range
 +  ]
 ); );
  
Line 131: Line 141:
 </​code>​ </​code>​
  
-  * JSON Example (@see [[ors-soap-api:​public:​json_api]] how to post)+===== JSON Examples ===== 
 + 
 +@see [[ors-soap-api:​public:​json_api]] how to post request.
  
 <code php> <code php>
ors-soap-api/public/regions.txt · Last modified: 2019/07/15 09:59 by admin