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

Request

Partially updates an existing File Upload. Only provided fields will be updated.

Security
bearer
Path
siteIdnumberrequired

Site identifier

fileUploadIdstringrequired

File Upload unique identifier (UUID)

Bodyapplication/jsonrequired
contentTypestring

MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').

extensionsobject

Vendor- or practice-specific extensions.

fileNamestring

Original file name as provided by the client or system.

notesstring

Optional notes or description associated with the file.

sizeBytesnumber

Size of the uploaded file in bytes.

curl -i -X PATCH \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file-upload/{fileUploadId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "contentType": "string",
    "extensions": {},
    "fileName": "string",
    "notes": "string",
    "sizeBytes": 0
  }'

Responses

File Upload updated successfully

Bodyapplication/json
contentTypestringrequired

MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').

createdAtstring(date-time)required

Timestamp when the file was created/uploaded in the system.

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

Vendor- or practice-specific extensions.

fileNamestringrequired

Original file name as provided by the client or system.

fileUploadIdstringrequired

Canonical identifier for this file upload.

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

Optional notes or description associated with the file.

sizeBytesnumberrequired

Size of the uploaded file in bytes.

updatedAtstring(date-time)required

Timestamp when the file metadata was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "contentType": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "fileName": "string", "fileUploadId": "123e4567-e89b-12d3-a456-426614174000", "notes": "string", "sizeBytes": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Fully replaces an existing File Upload. All fields must be provided.

Security
bearer
Path
siteIdnumberrequired

Site identifier

fileUploadIdstringrequired

File Upload unique identifier (UUID)

Bodyapplication/jsonrequired
contentTypestringrequired

MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').

extensionsobjectrequired

Vendor- or practice-specific extensions.

fileNamestringrequired

Original file name as provided by the client or system.

notesstringrequired

Optional notes or description associated with the file.

sizeBytesnumberrequired

Size of the uploaded file in bytes.

curl -i -X PUT \
  'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file-upload/{fileUploadId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "contentType": "string",
    "extensions": {},
    "fileName": "string",
    "notes": "string",
    "sizeBytes": 0
  }'

Responses

File Upload replaced successfully

Bodyapplication/json
contentTypestringrequired

MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').

createdAtstring(date-time)required

Timestamp when the file was created/uploaded in the system.

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

Vendor- or practice-specific extensions.

fileNamestringrequired

Original file name as provided by the client or system.

fileUploadIdstringrequired

Canonical identifier for this file upload.

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

Optional notes or description associated with the file.

sizeBytesnumberrequired

Size of the uploaded file in bytes.

updatedAtstring(date-time)required

Timestamp when the file metadata was last updated.

Example: "2025-01-01T00:00:00.000Z"
Response
application/json
{ "contentType": "string", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "fileName": "string", "fileUploadId": "123e4567-e89b-12d3-a456-426614174000", "notes": "string", "sizeBytes": 0, "updatedAt": "2025-01-01T00:00:00.000Z" }

Request

Permanently deletes a File Upload record.

Security
bearer
Path
siteIdnumberrequired

Site identifier

fileUploadIdstringrequired

File Upload unique identifier (UUID)

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

Responses

File Upload deleted successfully

Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations