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

Request

Creates a new Availability Slot record. Availability Slot resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
availabilitySlotIdstringrequired

Canonical identifier for this availability slot.

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

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.

isActivebooleanrequired

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

isBookedboolean

Indicates whether this slot is currently booked.

locationIdstringrequired

Location (clinic/branch) where this slot occurs.

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

Free-text notes about this availability slot.

resourceIdstringrequired

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

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

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

Example: "2025-01-01T00:00:00.000Z"
curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability-slot' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "availabilitySlotId": "123e4567-e89b-12d3-a456-426614174000",
    "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 created 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

Returns a paginated list of Availability Slots for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber>= 0

Page number (0-indexed)

Default 0
pageSizenumber[ 1 .. 100 ]

Number of items per page

Default 10
sortBystring

Field to sort by

Enum"createdAt""updatedAt""endAt""notes""startAt"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
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: locationId=123e4567-e89b-12d3-a456-426614174000
notesstring

Free-text notes about this availability slot.

resourceIdstring

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

Example: resourceId=123e4567-e89b-12d3-a456-426614174000
curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/availability-slot?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&isBooked=true&locationId=123e4567-e89b-12d3-a456-426614174000&notes=string&resourceId=123e4567-e89b-12d3-a456-426614174000' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Availability Slots

Request

Returns a single Availability Slot by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

availabilitySlotIdstringrequired

Availability Slot unique identifier (UUID)

curl -i -X GET \
  '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 found

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

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
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations