View appointment types
This endpoint returns appointment types for the institution specified by the subdomain parameter, or for a specific location within it when appointment types are location specific. location_id is required in that case, and is also required when requesting sub-resources via include[].
Authorization
Authorization In: header
Query Parameters
Used to scope the request to the specified institution
ID of the associated location, required when appointment types are location specific and when including sub-resources
int32Resources to be included in the response
Header Parameters
The NexHealth API version
"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/appointment_types?subdomain=string" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 1, "name": "Medical", "parent_type": "Institution", "parent_id": 1, "minutes": 15, "bookable_online": false, "descriptors": [ { "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}View adjustment GET
This endpoint returns a single ledger adjustment
Create appointment type POST
This endpoint creates an appointment type under the institution specified by the subdomain parameter, or a specific location within it when appointment types are location specific; location_id is required in that case.