This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ors-soap-api:public:regions [2017/12/13 15:59] admin [Examples] |
ors-soap-api:public:regions [2019/07/15 09:59] (current) admin [Examples] |
||
|---|---|---|---|
| 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' => array( | ||
| + | 'ppc' => '200-400' // filter by price range | ||
| + | ) | ||
| ); | ); | ||