Skip to content

Search examples

Tomas edited this page Oct 30, 2018 · 4 revisions

Following examples show search posibilities with different parameters.

Reference for /search endpoints

If the request contains checkIn & checkOut parameters, response returns all available boats during the period. If checkIn & checkOut are not defined, response returns all boats with lowest expectable prices.

Find boats in city

/GET request

Find boats in Split between 15th March 2019 and 22th March 2019

https://api.boataround.com/v1/search?city=Split&checkIn=2019-03-15&checkOut=2019-03-22

alternative:

https://api.boataround.com/v1/city=Split&checkIn=2019-03-15&checkOut=2019-03-22


Find boats in marina

/GET request

Find boats in ACI Marina Split between 15th March 2019 and 22th March 2019.

https://api.boataround.com/v1/search?city=ACI%20Marina%20Split&checkIn=2019-03-15&checkOut=2019-03-22

alternative:

https://api.boataround.com/v1/marina=ACI%20Marina%20Split&checkIn=2019-03-15&checkOut=2019-03-22


Find specific category of boats

/GET request

Find sailing yachts in Split between 15th March 2019 and 22th March 2019

https://api.boataround.com/v1/search?city=Split&category=Sailing+Yacht&checkIn=2019-03-15&checkOut=2019-03-22


Find boats with cabins

/GET request

  • Find 3-cabin boats in Split between 15th March 2019 and 22th March 2019

    https://api.boataround.com/v1/search?city=Split&cabins=3&checkIn=2019-03-15&checkOut=2019-03-22

  • Find more than 3-cabin boats in Split between 15th March 2019 and 22th March 2019

    https://api.boataround.com/v1/search?city=Split&cabins=3-&checkIn=2019-03-15&checkOut=2019-03-22


Find boats from specific charter

/GET request

Find all boats in Croatia from charter Sunsail

https://api.boataround.com/v1/search?country=Croatia&charter=Sunsail

Clone this wiki locally