Skip to content

Availabilities

Tomas edited this page Oct 30, 2018 · 1 revision

Following examples show availabilities posibilities with different parameters.

Reference for /availabilities endpoints

Important:

Availability is object when boat is NOT available

Example:

{"chin":"2018-12-22","chout":"2018-12-29"}

Boat is not available from from 22th of december, 2018 until 29th of december, 2018. Parameters chin & chout are shorthands for checkIn & checkOut

Get all charter availabilities

/GET request

Get all boats with availabilities of Angelina Yacht Charter

https://api.boataround.com/v1/availabilities/Angelina%20Yacht%20Charter

Returns array of boats, where every boat returns array of availabilities, when boats is NOT available.

Clone this wiki locally