Appointments
Edit appointment
This endpoint updates an existing appointment.
Authorization
Authorization Authorization<token>
In: header
Path Parameters
id*integer
ID of the appointment
Format
int64Query Parameters
subdomain*string
Used to scope the request to the specified institution
Header Parameters
Nex-Api-Version*string
The NexHealth API version
Default
"v3.0.0"Request Body
application/json
Edit appointment
appt*
Appointment detail object
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/appointments/0?subdomain=string" \ -H "Nex-Api-Version: v3.0.0" \ -H "Content-Type: application/json" \ -d '{ "appt": {} }'{ "code": false, "description": "Description", "error": [ "Error message" ], "data": { "appt": { "id": 1822, "patient_id": 2897, "provider_id": 104, "provider_name": "Dr. John Smith", "start_time": "2020-06-05T20:16:57.007Z", "confirmed": true, "patient_missed": false, "created_at": "2020-06-05T20:16:57.007Z", "updated_at": "2020-06-05T20:16:57.007Z", "note": "Patient has been having a cough for 3 days", "end_time": "2020-06-05T20:16:57.007Z", "unavailable": false, "cancelled": false, "timezone": "America/New_York", "institution_id": 1, "appointment_type_id": 27, "checkin_at": "2020-06-05T20:16:57.007Z", "location_id": 1, "foreign_id": "94", "foreign_id_type": "msg-dentrix-DataSource-100", "misc": { "is_booked_on_nexhealth": true }, "last_sync_time": "2020-06-05T20:16:57.007Z", "patient_confirmed": false, "created_by_user_id": 197, "is_guardian": false, "patient_confirmed_at": "2020-06-05T20:16:57.007Z", "cancelled_at": "2020-06-05T20:16:57.007Z", "is_new_clients_patient": false, "confirmed_at": "2020-06-05T20:16:57.007Z", "sooner_if_possible": false, "operatory_id": 181, "checked_out": false, "checked_out_at": "2020-06-05T20:16:57.007Z", "referrer": "http://mypractice.com/book", "is_past_patient": true, "timezone_offset": "-4:00" }, "stripe_client_secret": "string" }, "count": 2}View appointment GET
This endpoint returns the appointment for a specific ID under the institution specified by the subdomain parameter. Related resources can be included via include[]; patient is included by default.
View appointment descriptors GET
This endpoint returns the EHR appointment descriptors for a specific appointment ID under the institution specified by the subdomain parameter. descriptor_type is an optional filter.