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 [2019/07/15 09:53] admin [Return Values] |
ors-soap-api:public:regions [2019/07/15 09:59] (current) admin [Examples] |
||
---|---|---|---|
Line 90: | 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 118: | Line 120: | ||
</code> | </code> | ||
- | * Example with top offers filtes | + | * Example with top offers filtes and range filters |
<code php> | <code php> | ||
Line 126: | 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 | ||
+ | ) | ||
); | ); | ||