Introduction to Dental API

Sections

Theme switcher

GET Appointment Slots

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Acceptstring

Query Parameters

durationinteger

Minutes; 1 or greater. Default 30.

slotmodeinteger

0 = vacant slots only (default); 1 = vacant slots plus all presets; 2 = vacant slots plus online-bookable presets; 3 = all presets only; 4 = online-bookable presets only. 3 and 4 need data model V18 or later.

pageinteger

1 or greater. Default 1.

per_pageinteger

1 to 500. Default 100.

appt_book_idsstring

One book ID or a comma-separated list. A single book allows up to 90 days; all books (-1 or omitted) and a list of two or more books allow up to 14 days. A longer range is shortened to the limit and returned with a warnings[] entry.

from_datestring

YYYY-MM-DD. If both dates are omitted the search covers today to 7 days ahead. A date before today is moved forward to today. The range limit is counted from the day before today, so a past from_date does not cause an error when the remaining range is within the limit.

to_datestring

YYYY-MM-DD; must not be in the past. If only from_date is sent, the range ends 7 days after it.

days_of_weekstring

Comma-separated ISO day numbers, 1 (Monday) to 7 (Sunday), for example 1,2,3,4,5. Omit to search all days.

start_timestring

HH:MM (24-hour): earliest slot start. Default: 08:00

end_timestring

HH:MM (24-hour): latest slot end. Default: 17:00

Response

200
Object

Response Attributes

statusboolean
messagestring
dataarray
paginationobject
422
Object

{ "detail": [ { "loc": ["query", "from_date"], "msg": "Invalid date format. Expected YYYY-MM-DD.", "type": "value_error" } ] }

Response Attributes

dataarray
statusboolean
messagestring
Was this section helpful?

GET

/

Select
1

Response

Was this section helpful?