Skip to content

AHDS Store API (1.0)

Animal Health Data Store - V1 API Documentation

Overview
Languages
Servers
Mock server

https://docs.heydonto.com/_mock/apis/animal-health/openapi/

Local Development

http://localhost:8083/

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Fully replaces an existing Availability Slot. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

availabilitySlotIdstringrequired

Availability Slot unique identifier (UUID)

Bodyapplication/jsonrequired
endAtstringrequired

End date and time of the availability slot (RFC 3339, with timezone).

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether this slot is active and can be used for scheduling.

Example: true
isBookedbooleanrequired

Indicates whether this slot is currently booked.

Example: true
locationIdstringrequired

Location (clinic/branch) where this slot occurs.

Example: "123e4567-e89b-12d3-a456-426614174000"
notesstringrequired

Free-text notes about this availability slot.

Example: "Example description"
resourceIdstringrequired

Primary resource for this slot (e.g., veterinarian, room).

Example: "123e4567-e89b-12d3-a456-426614174000"
serviceTypeobjectrequired
serviceType.​codestringrequired

Code value

Example: "12345"
serviceType.​systemstringrequired

Code system URI

Example: "http://example.com/codesystem"
serviceType.​displaystring

Human-readable display

Example: "Example Display Name"
startAtstringrequired

Start date and time of the availability slot (RFC 3339, with timezone).

Example: "2025-01-01T00:00:00.000Z"
curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability-slot/{availabilitySlotId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "endAt": "2025-01-01T00:00:00.000Z",
    "extensions": {},
    "isActive": true,
    "isBooked": true,
    "locationId": "123e4567-e89b-12d3-a456-426614174000",
    "notes": "Example description",
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "serviceType": {
      "code": "12345",
      "system": "http://example.com/codesystem",
      "display": "Example Display Name"
    },
    "startAt": "2025-01-01T00:00:00.000Z"
  }'

Responses

Availability Slot replaced successfully

Bodyapplication/json
availabilitySlotIdstringrequired

Canonical identifier for this availability slot.

Example: "123e4567-e89b-12d3-a456-426614174000"
createdAtstring(date-time)required

Timestamp when this slot record was created.

Example: "2025-01-01T00:00:00.000Z"
endAtstring(date-time)required

End date and time of the availability slot (RFC 3339, with timezone).

Example: "2025-01-01T00:00:00.000Z"
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Indicates whether this slot is active and can be used for scheduling.

Example: true
isBookedbooleanrequired

Indicates whether this slot is currently booked.

Example: true
locationIdstringrequired

Location (clinic/branch) where this slot occurs.

Example: "123e4567-e89b-12d3-a456-426614174000"
notesstringrequired

Free-text notes about this availability slot.

Example: "Example description"
resourceIdstringrequired

Primary resource for this slot (e.g., veterinarian, room).

Example: "123e4567-e89b-12d3-a456-426614174000"
serviceTypeobjectrequired
serviceType.​codestringrequired

Code value

Example: "12345"
serviceType.​systemstringrequired

Code system URI

Example: "http://example.com/codesystem"
serviceType.​displaystring

Human-readable display

Example: "Example Display Name"
startAtstring(date-time)required

Start date and time of the availability slot (RFC 3339, with timezone).

Example: "2025-01-01T00:00:00.000Z"
updatedAtstring(date-time)required

Timestamp when this slot record was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "availabilitySlotId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "endAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "isBooked": true, "locationId": "123e4567-e89b-12d3-a456-426614174000", "notes": "Example description", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "serviceType": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "startAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a Availability Slot record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

availabilitySlotIdstringrequired

Availability Slot unique identifier (UUID)

curl -i -X DELETE \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability-slot/{availabilitySlotId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Availability Slot deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations