/booking/ - GetBookings

GET {{host}}/booking/?roomid=1

A simple request that returns all the bookings for a specific room. The request contains an optional querystring of roomid

Add the roomid query string to only return bookings for a specific room. Alternatively, remove the query string to return all bookings within the API.

Authorisation

To use this request you must be authorised.

Authorisation is achieved by creating a Cookie header with the value token=abc123. To get a valid token, you send a request to POST /auth using the Auth API in restful-booker-platform.

Simply run the request once with the default credentials to have Qodex add a token to the Cookies manager.

Request Params

KeyDatatypeRequiredDescription
roomidnumber

HEADERS

KeyDatatypeRequiredDescription
acceptstring
Referernull