View available slots
This endpoint returns the bookable slots for the requested locations over the given date range, computed from provider availabilities and existing appointments. At least one of pids or appointment_type_id must be provided.
Query parameters
Used to scope the request to the specified institution
Date string you want results to start at, format YYYY-MM-DD
Number of days to include, counting the start date. For best performance, this value should not exceed 14 days.
Specify an appointment type to filter returned slots and set slot_length to appointment_type.minutes
Filter by specific working hour label
Filter by source of working hours
Manually specify slot length in minutes. Defaults to 15 minutes
Manually specify the time in minutes between returned slot start times when a contiguous opening exists longer than the slot_length
Return all available slots for operatories at a given time instead of returning only the first found. Default is false
Number of appointments (default:1, max:5) that can be booked in a single slot. Only supported for eClinicalWorks and NextGen.
Array of Location Ids
Array of Provider Ids
Specify this if booking is mapped to operatory in this location
Headers
The NexHealth API version
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": [
{
"lid": 1,
"pid": 83,
"operatory_id": 54,
"slots": [
{
"time": "2017-10-09T07:00:00.000-04:00",
"end_time": "2017-10-09T07:30:00.000-04:00",
"operatory_id": 54,
"provider_id": 83,
"working_hour_label_id": 11
}
],
"next_available_date": "2022-11-17"
}
],
"count": 2
}