Introduction to Dental API

Sections

Theme switcher

POST Appointment

Header Parameters

org-idstring Required
x-api-keystring Required

(Required)

Acceptstring
Idempotency-Keystring

Optional, strongly recommended. A unique value you create for each new appointment: 8 to 128 characters using letters, digits, underscore, full stop or hyphen (a UUID works well). Reuse it only to retry the same request.

Body Parameters

appt_book_idinteger Required

1 or greater. Use GET /api/v1/appointment-slots to discover bookable IDs

appointment_datestring Required

YYYY-MM-DD

patient_idinteger Required

Required. 1 or more. The unique identifier for a patient in the database.

start_timestring Required

HH:MM (24-hour)

finish_timestring Required

HH:MM, strictly after start_time

practitioner_idinteger

Practitioner_id from /api/v1/practitioners (1 or greater).

class_idinteger

From /api/v1/appointment-classes. Default 1

notesstring

Up to 450 characters

Max length
450
created_user_idinteger

Optional, 1 or greater. Staff member to record as Appointed By (data model V20 or later; not recorded on older practices, with a warning).

Response

200
Object

Response Attributes

statusboolean
messagestring
dataarray
422
Object

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

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
404
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
400
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
409
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
idempotency_outcomestring
idempotency_retry_blocked_untilstring
retry_after_secondsinteger
503
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
retry_afterinteger
retry_after_secondsinteger
Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?