GET
/
v2
/
booking
/
checkclash
curl --request GET \
  --url https://api.sonderplan.com/v2/booking/checkclash \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "name": "Test Booking",
      "start": 1547501100,
      "end": 1547538900
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
integer

The ID of a booking to exclude from the clash check

resources
string

Specify one or more resource ids and return only the booking clashes with these resources

start
integer
required

Return any bookings starting after the given UNIX timestamp

end
integer
required

Return any bookings starting before the given UNIX timestamp

page
integer

Specify the page of results you wish to return

limit
integer

The number of results returned per page. Default if not specified is 10

Response

200
application/json
Successful Operation
data
object[]

Standard booking model that returns most properties by default

meta
object