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

Partially updates an existing Availability Slot. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

availabilitySlotIdstringrequired

Availability Slot unique identifier (UUID)

Bodyapplication/jsonrequired
endAtstring

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

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

Vendor- or practice-specific extensions.

isActiveboolean

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

isBookedboolean

Indicates whether this slot is currently booked.

locationIdstring

Location (clinic/branch) where this slot occurs.

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

Free-text notes about this availability slot.

resourceIdstring

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

Example: "123e4567-e89b-12d3-a456-426614174000"
serviceTypeobject
startAtstring

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

Example: "2025-01-01T00:00:00.000Z"
curl -i -X PATCH \
  '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": "string",
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "serviceType": {
      "code": "string",
      "system": "string",
      "display": "string"
    },
    "startAt": "2025-01-01T00:00:00.000Z"
  }'

Responses

Availability Slot updated 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.

isBookedbooleanrequired

Indicates whether this slot is currently booked.

locationIdstringrequired

Location (clinic/branch) where this slot occurs.

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

Free-text notes about this availability slot.

resourceIdstringrequired

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

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

Code value

serviceType.​systemstringrequired

Code system URI

serviceType.​displaystring

Human-readable display

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": "string", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "serviceType": { "code": "string", "system": "string", "display": "string" }, "startAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z" }

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.

isBookedbooleanrequired

Indicates whether this slot is currently booked.

locationIdstringrequired

Location (clinic/branch) where this slot occurs.

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

Free-text notes about this availability slot.

resourceIdstringrequired

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

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

Code value

serviceType.​systemstringrequired

Code system URI

serviceType.​displaystring

Human-readable display

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": "string",
    "resourceId": "123e4567-e89b-12d3-a456-426614174000",
    "serviceType": {
      "code": "string",
      "system": "string",
      "display": "string"
    },
    "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.

isBookedbooleanrequired

Indicates whether this slot is currently booked.

locationIdstringrequired

Location (clinic/branch) where this slot occurs.

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

Free-text notes about this availability slot.

resourceIdstringrequired

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

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

Code value

serviceType.​systemstringrequired

Code system URI

serviceType.​displaystring

Human-readable display

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": "string", "resourceId": "123e4567-e89b-12d3-a456-426614174000", "serviceType": { "code": "string", "system": "string", "display": "string" }, "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