Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Canonical unique identifier for the barcode.
Identifier of the resource this barcode is associated with. Type depends on forType.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"barcodeId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"forId": "123e4567-e89b-12d3-a456-426614174000",
"forType": "string",
"format": "string",
"isActive": true,
"value": "string"
}'Barcode created successfully
Canonical unique identifier for the barcode.
Timestamp when the barcode record was created.
Identifier of the resource this barcode is associated with. Type depends on forType.
Timestamp when the barcode record was last updated.
{ "barcodeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "forId": "123e4567-e89b-12d3-a456-426614174000", "forType": "string", "format": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "value": "string" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&forId=123e4567-e89b-12d3-a456-426614174000&forType=string&format=string&isActive=true&value=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode/{barcodeId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode/{barcodeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode/{barcodeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Barcode found
Canonical unique identifier for the barcode.
Timestamp when the barcode record was created.
Identifier of the resource this barcode is associated with. Type depends on forType.
Timestamp when the barcode record was last updated.
{ "barcodeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "forId": "123e4567-e89b-12d3-a456-426614174000", "forType": "string", "format": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "value": "string" }
Identifier of the resource this barcode is associated with. Type depends on forType.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode/{barcodeId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode/{barcodeId}
- 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/barcode/{barcodeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"forId": "123e4567-e89b-12d3-a456-426614174000",
"forType": "string",
"format": "string",
"isActive": true,
"value": "string"
}'Barcode updated successfully
Canonical unique identifier for the barcode.
Timestamp when the barcode record was created.
Identifier of the resource this barcode is associated with. Type depends on forType.
Timestamp when the barcode record was last updated.
{ "barcodeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "forId": "123e4567-e89b-12d3-a456-426614174000", "forType": "string", "format": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "value": "string" }
Identifier of the resource this barcode is associated with. Type depends on forType.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode/{barcodeId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode/{barcodeId}
- 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/barcode/{barcodeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"extensions": {},
"forId": "123e4567-e89b-12d3-a456-426614174000",
"forType": "string",
"format": "string",
"isActive": true,
"value": "string"
}'Barcode replaced successfully
Canonical unique identifier for the barcode.
Timestamp when the barcode record was created.
Identifier of the resource this barcode is associated with. Type depends on forType.
Timestamp when the barcode record was last updated.
{ "barcodeId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "forId": "123e4567-e89b-12d3-a456-426614174000", "forType": "string", "format": "string", "isActive": true, "updatedAt": "2025-01-01T00:00:00.000Z", "value": "string" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode/{barcodeId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/barcode/{barcodeId}
- 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/barcode/{barcodeId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'