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

Request

Creates a new Appointment Type record. Appointment Type resource in the Animal Health Data Store

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
appointmentTypeIdstringrequired

Canonical identifier for the appointment type.

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

Default duration of the appointment type in minutes.

extensionsobject

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

curl -i -X POST \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment-type' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "appointmentTypeId": "123e4567-e89b-12d3-a456-426614174000",
    "defaultDuration": 0,
    "extensions": {},
    "isActive": true,
    "name": "string"
  }'

Responses

Appointment Type created successfully

Bodyapplication/json
appointmentTypeIdstringrequired

Canonical identifier for the appointment type.

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

Timestamp when the appointment type was created.

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

Default duration of the appointment type in minutes.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

updatedAtstring(date-time)required

Timestamp when the appointment type was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "appointmentTypeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "defaultDuration": 0, "extensions": {}, "isActive": true, "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Returns a paginated list of Appointment Types 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""defaultDuration""name"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
isActiveboolean

Whether this appointment type is active and can be scheduled.

namestring

Human-readable name of the appointment type.

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment-type?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&isActive=true&name=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Appointment Types

Request

Returns a single Appointment Type by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentTypeIdstringrequired

Appointment Type unique identifier (UUID)

curl -i -X GET \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment-type/{appointmentTypeId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Appointment Type found

Bodyapplication/json
appointmentTypeIdstringrequired

Canonical identifier for the appointment type.

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

Timestamp when the appointment type was created.

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

Default duration of the appointment type in minutes.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

updatedAtstring(date-time)required

Timestamp when the appointment type was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "appointmentTypeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "defaultDuration": 0, "extensions": {}, "isActive": true, "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Partially updates an existing Appointment Type. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentTypeIdstringrequired

Appointment Type unique identifier (UUID)

Bodyapplication/jsonrequired
defaultDurationnumber

Default duration of the appointment type in minutes.

extensionsobject

Vendor- or practice-specific extensions.

isActiveboolean

Whether this appointment type is active and can be scheduled.

namestring

Human-readable name of the appointment type.

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment-type/{appointmentTypeId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "defaultDuration": 0,
    "extensions": {},
    "isActive": true,
    "name": "string"
  }'

Responses

Appointment Type updated successfully

Bodyapplication/json
appointmentTypeIdstringrequired

Canonical identifier for the appointment type.

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

Timestamp when the appointment type was created.

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

Default duration of the appointment type in minutes.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

updatedAtstring(date-time)required

Timestamp when the appointment type was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "appointmentTypeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "defaultDuration": 0, "extensions": {}, "isActive": true, "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Fully replaces an existing Appointment Type. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentTypeIdstringrequired

Appointment Type unique identifier (UUID)

Bodyapplication/jsonrequired
defaultDurationnumberrequired

Default duration of the appointment type in minutes.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/appointment-type/{appointmentTypeId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "defaultDuration": 0,
    "extensions": {},
    "isActive": true,
    "name": "string"
  }'

Responses

Appointment Type replaced successfully

Bodyapplication/json
appointmentTypeIdstringrequired

Canonical identifier for the appointment type.

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

Timestamp when the appointment type was created.

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

Default duration of the appointment type in minutes.

extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment type is active and can be scheduled.

namestringrequired

Human-readable name of the appointment type.

updatedAtstring(date-time)required

Timestamp when the appointment type was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "appointmentTypeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "defaultDuration": 0, "extensions": {}, "isActive": true, "name": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a Appointment Type record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentTypeIdstringrequired

Appointment Type unique identifier (UUID)

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

Responses

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