Appointments
View appointment descriptors
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.
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
descriptor_type?string
Return only descriptors of this type
Header Parameters
Nex-Api-Version*string
The NexHealth API version
Default
"v3.0.0"Response Body
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
curl -X GET "https://example.com/appointments/0/appointment_descriptors?subdomain=string" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 1822, "descriptor_type": "Procedure Code", "name": "EHR Descriptor Name", "code": "EHR Descriptor Code", "location_id": 13, "foreign_id": "94", "foreign_id_type": "msg-dentrix-DataSource-100", "data": {}, "active": true, "last_sync_time": "2021-05-21T16:23:03.046Z", "created_at": "2021-05-21T16:23:03.046Z", "updated_at": "2021-05-21T16:23:03.046Z" } ], "count": 2}