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

Returns a paginated list of Practitioners 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""licenseNumber""licenseState"
sortOrderstring

Sort order

Default "asc"
Enum"asc""desc"
userIdstring

Reference to the associated user account.

Example: userId=123e4567-e89b-12d3-a456-426614174000
licenseNumberstring

Professional license number.

licenseStatestring

State/jurisdiction of license.

isActiveboolean

Whether the practitioner is currently active.

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

Responses

Paginated list of Practitioners

Request

Returns a single Practitioner by its unique identifier.

Security
bearer
Path
siteIdnumberrequired

Site identifier

practitionerIdstringrequired

Practitioner unique identifier (UUID)

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

Responses

Practitioner found

Bodyapplication/json
practitionerIdstringrequired

Canonical unique identifier for the practitioner.

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

Reference to the associated user account.

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

Professional license number.

Example: "example"
licenseStatestringrequired

State/jurisdiction of license.

Example: "https://example.com"
roleobjectrequired
role.​codestringrequired

Code value

Example: "12345"
role.​systemstringrequired

Code system URI

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

Human-readable display

Example: "Example Display Name"
specialtiesArray of objects(SpecialtieDto)required

List of specialties (surgery, dentistry, oncology).

specialties[].​codestringrequired
Example: "example"
specialties[].​systemstringrequired
Example: "example"
specialties[].​displaystring
Example: "example"
facilityIdsArray of stringsrequired

Facilities where this practitioner works.

isActivebooleanrequired

Whether the practitioner is currently active.

Example: true
createdAtstring(date-time)required

Timestamp when the practitioner record was created.

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

Timestamp when the practitioner record was last updated.

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

Vendor- or practice-specific extensions.

Response
application/json
{ "practitionerId": "123e4567-e89b-12d3-a456-426614174000", "userId": "123e4567-e89b-12d3-a456-426614174000", "licenseNumber": "example", "licenseState": "https://example.com", "role": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "specialties": [ { … } ], "facilityIds": [ "string" ], "isActive": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "extensions": {} }

Request

Partially updates an existing Practitioner. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

practitionerIdstringrequired

Practitioner unique identifier (UUID)

Bodyapplication/jsonrequired
userIdstring

Reference to the associated user account.

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

Professional license number.

Example: "example"
licenseStatestring

State/jurisdiction of license.

Example: "https://example.com"
roleobject
specialtiesArray of objects(SpecialtieDto)

List of specialties (surgery, dentistry, oncology).

facilityIdsArray of strings

Facilities where this practitioner works.

isActiveboolean

Whether the practitioner is currently active.

Example: true
extensionsobject

Vendor- or practice-specific extensions.

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/practitioner/{practitionerId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "userId": "123e4567-e89b-12d3-a456-426614174000",
    "licenseNumber": "example",
    "licenseState": "https://example.com",
    "role": {
      "code": "12345",
      "system": "http://example.com/codesystem",
      "display": "Example Display Name"
    },
    "specialties": [
      {
        "code": "example",
        "system": "example",
        "display": "example"
      }
    ],
    "facilityIds": [
      "string"
    ],
    "isActive": true,
    "extensions": {}
  }'

Responses

Practitioner updated successfully

Bodyapplication/json
practitionerIdstringrequired

Canonical unique identifier for the practitioner.

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

Reference to the associated user account.

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

Professional license number.

Example: "example"
licenseStatestringrequired

State/jurisdiction of license.

Example: "https://example.com"
roleobjectrequired
role.​codestringrequired

Code value

Example: "12345"
role.​systemstringrequired

Code system URI

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

Human-readable display

Example: "Example Display Name"
specialtiesArray of objects(SpecialtieDto)required

List of specialties (surgery, dentistry, oncology).

specialties[].​codestringrequired
Example: "example"
specialties[].​systemstringrequired
Example: "example"
specialties[].​displaystring
Example: "example"
facilityIdsArray of stringsrequired

Facilities where this practitioner works.

isActivebooleanrequired

Whether the practitioner is currently active.

Example: true
createdAtstring(date-time)required

Timestamp when the practitioner record was created.

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

Timestamp when the practitioner record was last updated.

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

Vendor- or practice-specific extensions.

Response
application/json
{ "practitionerId": "123e4567-e89b-12d3-a456-426614174000", "userId": "123e4567-e89b-12d3-a456-426614174000", "licenseNumber": "example", "licenseState": "https://example.com", "role": { "code": "12345", "system": "http://example.com/codesystem", "display": "Example Display Name" }, "specialties": [ { … } ], "facilityIds": [ "string" ], "isActive": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z", "extensions": {} }
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations