Appointments
List Resource Occupations
Retrieve resource occupations that intersect a required time interval in a Location. Results can be narrowed to one or more Services.
Each JSON:API resource identifies the occupied resource instance, its time interval, and the source Appointment or Event.
get/locations/{location_id}/resource_occupations
Path parameters
location_idinteger required
Location ID
Query parameters
filter[service_id]integer
Filter by one Service ID
filter[service_ids][]integer[]
Filter by multiple Service IDs
filter[date_intersect_from_strict]string required
Interval start in the Location timezone, without an offset
filter[date_intersect_to_strict]string required
Interval end in the Location timezone, without an offset
Headers
Acceptstring required
Required B2B v2 response media type. Use application/vnd.api.v2+json. A charset parameter is also accepted.
Authorizationstring required
Bearer {partner_token}, User {user_token}
Response
Resource occupations retrieved successfully