You can search by price using two methods:
- URL parameter
- Advanced queries
In both methods it is possible to either search by an exact price or by a price range.
Currently a price parameter is always treated as EUR.
You can filter on an exact price with the following query:
This will return all events and places with an exact price of 9.99 EUR.
You can filter by minimum and maximum price like this:
This will look for all events and places that have a price that is within the given range.
maxPrice are optional and can be used on their own, or together.
For example, you could search for all events with a maximum price of 25 EUR, without having to specify a minimum price:
q parameter, you can execute more advanced queries than by using the
maxPrice URL parameter.
It is possible to exactly match the price of an event or place:
GET https://search.uitdatabank.be/offers/?q=price:19.99 OR price:66.66
It is possible to search on a range of prices:
GET https://search.uitdatabank.be/offers/?q=price:[9.99 TO 20] OR price:29.99
For more info, see the advanced queries documentation.
Lees verder: Sorting