Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
- 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.
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.
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": "string", "system": "string", "display": "string" }, "appointmentType": { "code": "string", "system": "string", "display": "string" }, "cancellationReason": { "code": "string", "system": "string", "display": "string" }, "cancellationReasonText": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "durationMinutes": 0, "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.
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": "string",
"system": "string",
"display": "string"
},
"appointmentType": {
"code": "string",
"system": "string",
"display": "string"
},
"cancellationReason": {
"code": "string",
"system": "string",
"display": "string"
},
"cancellationReasonText": "string",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"description": "string",
"durationMinutes": 0,
"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.
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.
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": "string", "system": "string", "display": "string" }, "appointmentType": { "code": "string", "system": "string", "display": "string" }, "cancellationReason": { "code": "string", "system": "string", "display": "string" }, "cancellationReasonText": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "durationMinutes": 0, "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.
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 PUT \
'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": "string",
"system": "string",
"display": "string"
},
"appointmentType": {
"code": "string",
"system": "string",
"display": "string"
},
"cancellationReason": {
"code": "string",
"system": "string",
"display": "string"
},
"cancellationReasonText": "string",
"consultId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"description": "string",
"durationMinutes": 0,
"extensions": {},
"isActive": true,
"primaryResourceId": "123e4567-e89b-12d3-a456-426614174000",
"resourceIds": [
"string"
],
"startAt": "2025-01-01T00:00:00.000Z"
}'Appointment replaced successfully
Identifier of the animal associated with the appointment.
Canonical identifier for the appointment.
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.
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": "string", "system": "string", "display": "string" }, "appointmentType": { "code": "string", "system": "string", "display": "string" }, "cancellationReason": { "code": "string", "system": "string", "display": "string" }, "cancellationReasonText": "string", "consultId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "description": "string", "durationMinutes": 0, "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" }