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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

Bodyapplication/jsonrequired
appointmentStatusIdstringrequired

Canonical identifier for the appointment status.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

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

Responses

Appointment Status created successfully

Bodyapplication/json
appointmentStatusIdstringrequired

Canonical identifier for the appointment status.

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

Timestamp when this appointment status was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

updatedAtstring(date-time)required

Timestamp when this appointment status was last updated.

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

Request

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

Sort order

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

Whether this appointment status is currently active and can be used.

namestring

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

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

Responses

Paginated list of Appointment Statuses

Request

Returns a single Appointment Status by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentStatusIdstringrequired

Appointment Status unique identifier (UUID)

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

Responses

Appointment Status found

Bodyapplication/json
appointmentStatusIdstringrequired

Canonical identifier for the appointment status.

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

Timestamp when this appointment status was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

updatedAtstring(date-time)required

Timestamp when this appointment status was last updated.

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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentStatusIdstringrequired

Appointment Status unique identifier (UUID)

Bodyapplication/jsonrequired
extensionsobject

Vendor- or practice-specific extensions.

isActiveboolean

Whether this appointment status is currently active and can be used.

namestring

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

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

Responses

Appointment Status updated successfully

Bodyapplication/json
appointmentStatusIdstringrequired

Canonical identifier for the appointment status.

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

Timestamp when this appointment status was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

updatedAtstring(date-time)required

Timestamp when this appointment status was last updated.

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

Request

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

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentStatusIdstringrequired

Appointment Status unique identifier (UUID)

Bodyapplication/jsonrequired
extensionsobjectrequired

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

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

Responses

Appointment Status replaced successfully

Bodyapplication/json
appointmentStatusIdstringrequired

Canonical identifier for the appointment status.

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

Timestamp when this appointment status was created.

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

Vendor- or practice-specific extensions.

isActivebooleanrequired

Whether this appointment status is currently active and can be used.

namestringrequired

Human-readable name of the appointment status (e.g., 'Booked', 'Checked In').

updatedAtstring(date-time)required

Timestamp when this appointment status was last updated.

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

Request

Permanently deletes a Appointment Status record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

appointmentStatusIdstringrequired

Appointment Status unique identifier (UUID)

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

Responses

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