Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Field to sort by
Identifier of the animal associated with the appointment.
Identifier of the consult/visit record linked to this appointment.
Identifier of the primary contact (e.g., owner) for the appointment.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/appointment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&animalId=123e4567-e89b-12d3-a456-426614174000&cancellationReasonText=string&consultId=123e4567-e89b-12d3-a456-426614174000&contactId=123e4567-e89b-12d3-a456-426614174000&description=string&isActive=true&primaryResourceId=123e4567-e89b-12d3-a456-426614174000' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment/{appointmentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/appointment/{appointmentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment/{appointmentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Appointment found
Identifier of the animal associated with the appointment.
Canonical identifier for the appointment.
Free-text explanation of the cancellation reason.
Identifier of the consult/visit record linked to this appointment.
Identifier of the primary contact (e.g., owner) for the appointment.
Timestamp when the appointment was created.
Free-text description or notes for the appointment.
Whether the appointment is currently active (not deleted/voided).
Identifier of the primary resource responsible for the appointment (e.g., veterinarian).
Identifiers of all resources allocated to this appointment (including the primary resource).
Scheduled start date and time of the appointment (with timezone).
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "appointmentId": "123e4567-e89b-12d3-a456-426614174000", "appointmentStatus": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "appointmentType": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "cancellationReason": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "cancellationReasonText": "Patient cancelled due to illness", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "Annual checkup", "durationMinutes": 30, "extensions": {}, "isActive": true, "primaryResourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceIds": [ "string" ], "startAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the animal associated with the appointment.
Free-text explanation of the cancellation reason.
Identifier of the consult/visit record linked to this appointment.
Identifier of the primary contact (e.g., owner) for the appointment.
Identifier of the primary resource responsible for the appointment (e.g., veterinarian).
Identifiers of all resources allocated to this appointment (including the primary resource).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment/{appointmentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/appointment/{appointmentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment/{appointmentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"animalId": "123e4567-e89b-12d3-a456-426614174000",
"appointmentStatus": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
},
"appointmentType": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
},
"cancellationReason": {
"code": "12345",
"system": "http://example.com/codesystem",
"display": "Example Display Name"
},
"cancellationReasonText": "Patient cancelled due to illness",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"description": "Annual checkup",
"durationMinutes": 30,
"extensions": {},
"isActive": true,
"primaryResourceId": "123e4567-e89b-12d3-a456-426614174000",
"resourceIds": [
"string"
],
"startAt": "2025-01-01T00:00:00.000Z"
}'Appointment updated successfully
Identifier of the animal associated with the appointment.
Canonical identifier for the appointment.
Free-text explanation of the cancellation reason.
Identifier of the consult/visit record linked to this appointment.
Identifier of the primary contact (e.g., owner) for the appointment.
Timestamp when the appointment was created.
Free-text description or notes for the appointment.
Whether the appointment is currently active (not deleted/voided).
Identifier of the primary resource responsible for the appointment (e.g., veterinarian).
Identifiers of all resources allocated to this appointment (including the primary resource).
Scheduled start date and time of the appointment (with timezone).
{ "animalId": "123e4567-e89b-12d3-a456-426614174000", "appointmentId": "123e4567-e89b-12d3-a456-426614174000", "appointmentStatus": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "appointmentType": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "cancellationReason": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "cancellationReasonText": "Patient cancelled due to illness", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "Annual checkup", "durationMinutes": 30, "extensions": {}, "isActive": true, "primaryResourceId": "123e4567-e89b-12d3-a456-426614174000", "resourceIds": [ "string" ], "startAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z" }