GET /v1/scheduling/resources
List the rentable resources of the tenant: courts, rooms, kennels or hotel rooms, booked by time blocks or by nights.
GET
List rentable resources
A resource is something a customer rents rather than a service a professional delivers: a court, a meeting room, a kennel, a hotel room. Every resource is booked in one of two units, given by
booking_unit:
block: by time blocks on a day (a court from 19:00 to 20:30). Query its free blocks with GET resources/availability.night: by stays from a check-in day to a check-out day (a kennel from Thursday to Saturday is two nights). Quote it with GET resources/stays/availability and see its free nights with GET resources/:id/occupancy.
Endpoint
Required scope
scheduling:services:read
Query params
Every param is optional.branch_id: only the resources of that branch.booking_unit:blockornight.booking_mode:exclusive(one booking at a time) orshared(several bookings share the capacity).category: exact category name.search: free text over the name.skipandlimit: pagination.limitdefaults to 50 and is capped at 200.
Example request
Response
200 OK
pricing.by_duration: in ablockresource, one price per offered duration. In anightresource there is exactly one tier and itsamountis the price of one night. Itsminutescarries no meaning.pricing.mode:per_blockcharges the amount once.per_personmultiplies it by the party size.stay: minimum and maximum nights of anightresource.nullforblock.capacity: in asharedresource, how many people (summing the party size of every booking) fit at once, or each night. Anexclusiveresource takes one booking at a time.
401 Unauthorized · 403 Forbidden
Same semantics as the rest of the public API.Authorizations
Query Parameters
Response
200
List rentable resources