Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Canonical identifier for this availability resource.
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"availabilityId": "123e4567-e89b-12d3-a456-426614174000",
"availabilityDate": "2025-01-01",
"extensions": {},
"resourceId": "123e4567-e89b-12d3-a456-426614174000",
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"slots": [
{
"capacity": 0,
"endsAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"slotId": "123e4567-e89b-12d3-a456-426614174000",
"startsAt": "2025-01-01T00:00:00.000Z",
"status": "free"
}
],
"timezone": "string"
}'Availability created successfully
Canonical identifier for this availability resource.
Timestamp when this availability record was created.
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
IANA timezone name used to interpret local slot times (e.g., 'Pacific/Auckland').
{ "availabilityId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "availabilityDate": "2025-01-01T00:00:00Z", "extensions": {}, "resourceId": "123e4567-e89b-12d3-a456-426614174000", "siteId": "123e4567-e89b-12d3-a456-426614174000", "slots": [ { … } ], "timezone": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability
- 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/availability?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&resourceId=123e4567-e89b-12d3-a456-426614174000&timezone=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability/{availabilityId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability/{availabilityId}
- 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/availability/{availabilityId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Availability found
Canonical identifier for this availability resource.
Timestamp when this availability record was created.
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
IANA timezone name used to interpret local slot times (e.g., 'Pacific/Auckland').
{ "availabilityId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "availabilityDate": "2025-01-01T00:00:00Z", "extensions": {}, "resourceId": "123e4567-e89b-12d3-a456-426614174000", "siteId": "123e4567-e89b-12d3-a456-426614174000", "slots": [ { … } ], "timezone": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability/{availabilityId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability/{availabilityId}
- 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/availability/{availabilityId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"availabilityDate": "2025-01-01",
"extensions": {},
"resourceId": "123e4567-e89b-12d3-a456-426614174000",
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"slots": [
{
"capacity": 0,
"endsAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"slotId": "123e4567-e89b-12d3-a456-426614174000",
"startsAt": "2025-01-01T00:00:00.000Z",
"status": "free"
}
],
"timezone": "string"
}'Availability updated successfully
Canonical identifier for this availability resource.
Timestamp when this availability record was created.
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
IANA timezone name used to interpret local slot times (e.g., 'Pacific/Auckland').
{ "availabilityId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "availabilityDate": "2025-01-01T00:00:00Z", "extensions": {}, "resourceId": "123e4567-e89b-12d3-a456-426614174000", "siteId": "123e4567-e89b-12d3-a456-426614174000", "slots": [ { … } ], "timezone": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability/{availabilityId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability/{availabilityId}
- 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/availability/{availabilityId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"availabilityDate": "2025-01-01",
"extensions": {},
"resourceId": "123e4567-e89b-12d3-a456-426614174000",
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"slots": [
{
"capacity": 0,
"endsAt": "2025-01-01T00:00:00.000Z",
"extensions": {},
"slotId": "123e4567-e89b-12d3-a456-426614174000",
"startsAt": "2025-01-01T00:00:00.000Z",
"status": "free"
}
],
"timezone": "string"
}'Availability replaced successfully
Canonical identifier for this availability resource.
Timestamp when this availability record was created.
Calendar date for which these availability slots apply.
Identifier of the resource (e.g., clinician, room, equipment) this availability applies to.
Identifier of the site/location where this availability applies.
List of availability slots for the specified date and resource.
End of the slot in RFC 3339 format, including timezone offset.
Identifier for this specific availability slot.
Start of the slot in RFC 3339 format, including timezone offset.
IANA timezone name used to interpret local slot times (e.g., 'Pacific/Auckland').
{ "availabilityId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "availabilityDate": "2025-01-01T00:00:00Z", "extensions": {}, "resourceId": "123e4567-e89b-12d3-a456-426614174000", "siteId": "123e4567-e89b-12d3-a456-426614174000", "slots": [ { … } ], "timezone": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability/{availabilityId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/availability/{availabilityId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability/{availabilityId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'