Bookings
Retrieve bookings
Retrieve all bookings of resources.
OAuth
Required scopes:resources.readonly
or resources
GET
/
resources
/
bookings
/
v1
Authorizations
Authorization
string
headerrequiredSee our authentication documentation for how to authorize your requests
Headers
spacebring-network-id
string
The id of the network. Required when using bearer token authentication
Query Parameters
resourceRef
string
The id of the resource. Required if locationRef
is not passed.
locationRef
string
The id of the location. Required if resourceRef
is not passed.
membershipRefOwner
string
The id of the membership owner.
endDate
object
The date filter of items.
startDate
object
The date filter of items.
limit
integer
default: 25The number of items to return
order
string
default: endDate:ascThe order of filtered items. Format - field:order
. Possible field values are createDate
, endDate
, startDate
, id
. Order values - asc
, desc
.
nextPageToken
string
nextPageToken retrieved from a previous request
types
enum<string>
The types of resources to retrieve bookings for. Pass them as comma separated values.
Available options:
hotDesk
, dedicatedDesk
, office
, parkingLot
, room
Response
200 - application/json
booking
object[]
nextPageToken
string