Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Identifier of the underlying stored file object.
Identifier of the record this attachment is linked to.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/attachment/{attachmentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"fileDownloadUrl": "string",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"isPrimaryImage": true,
"mimeType": "string",
"name": "string",
"notes": "string",
"recordId": "123e4567-e89b-12d3-a456-426614174000",
"recordType": "string"
}'Attachment updated successfully
Canonical identifier for the attachment.
Timestamp when the attachment record was created.
URL that can be used to download the file content, subject to authorization.
Identifier of the underlying stored file object.
Whether this attachment is the primary image for the associated record.
Identifier of the record this attachment is linked to.
Type of record this attachment is associated with (e.g. 'Animal', 'Contact', 'Consult').
{ "attachmentId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "fileDownloadUrl": "string", "fileId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "isPrimaryImage": true, "mimeType": "string", "name": "string", "notes": "string", "recordId": "123e4567-e89b-12d3-a456-426614174000", "recordType": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
URL that can be used to download the file content, subject to authorization.
Identifier of the underlying stored file object.
Whether this attachment is the primary image for the associated record.
Identifier of the record this attachment is linked to.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/attachment/{attachmentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"fileDownloadUrl": "string",
"fileId": "123e4567-e89b-12d3-a456-426614174000",
"isActive": true,
"isPrimaryImage": true,
"mimeType": "string",
"name": "string",
"notes": "string",
"recordId": "123e4567-e89b-12d3-a456-426614174000",
"recordType": "string"
}'Attachment replaced successfully
Canonical identifier for the attachment.
Timestamp when the attachment record was created.
URL that can be used to download the file content, subject to authorization.
Identifier of the underlying stored file object.
Whether this attachment is the primary image for the associated record.
Identifier of the record this attachment is linked to.
Type of record this attachment is associated with (e.g. 'Animal', 'Contact', 'Consult').
{ "attachmentId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "fileDownloadUrl": "string", "fileId": "123e4567-e89b-12d3-a456-426614174000", "isActive": true, "isPrimaryImage": true, "mimeType": "string", "name": "string", "notes": "string", "recordId": "123e4567-e89b-12d3-a456-426614174000", "recordType": "string", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/attachment/{attachmentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/attachment/{attachmentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'