Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- 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/with-primary-inventory-location/{separationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'With Primary Inventory Location found
Identifier of the child separation, if any.
Identifier of the associated contact entity, if any.
Timestamp when the separation record was created.
Human-readable name of the separation (e.g., clinic or department name).
Identifier of the parent separation, if any.
Identifier of the primary inventory location associated with this separation.
High-level category of the separation (e.g., division, department).
Canonical identifier for the separation (e.g., division, department).
Free-text type or classification of the separation as used in the source system.
{ "childSeparationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "Example Name", "parentSeparationId": "123e4567-e89b-12d3-a456-426614174000", "primaryInventoryLocationId": "123e4567-e89b-12d3-a456-426614174000", "separationCategory": "division", "separationId": "123e4567-e89b-12d3-a456-426614174000", "separationType": "example", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the child separation, if any.
Identifier of the associated contact entity, if any.
Human-readable name of the separation (e.g., clinic or department name).
Identifier of the parent separation, if any.
Identifier of the primary inventory location associated with this separation.
High-level category of the separation (e.g., division, department).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- 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/with-primary-inventory-location/{separationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"childSeparationId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"name": "Example Name",
"parentSeparationId": "123e4567-e89b-12d3-a456-426614174000",
"primaryInventoryLocationId": "123e4567-e89b-12d3-a456-426614174000",
"separationCategory": "division",
"separationType": "example"
}'With Primary Inventory Location updated successfully
Identifier of the child separation, if any.
Identifier of the associated contact entity, if any.
Timestamp when the separation record was created.
Human-readable name of the separation (e.g., clinic or department name).
Identifier of the parent separation, if any.
Identifier of the primary inventory location associated with this separation.
High-level category of the separation (e.g., division, department).
Canonical identifier for the separation (e.g., division, department).
Free-text type or classification of the separation as used in the source system.
{ "childSeparationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "Example Name", "parentSeparationId": "123e4567-e89b-12d3-a456-426614174000", "primaryInventoryLocationId": "123e4567-e89b-12d3-a456-426614174000", "separationCategory": "division", "separationId": "123e4567-e89b-12d3-a456-426614174000", "separationType": "example", "updatedAt": "2025-01-01T00:00:00.000Z" }
Identifier of the child separation, if any.
Identifier of the associated contact entity, if any.
Human-readable name of the separation (e.g., clinic or department name).
Identifier of the parent separation, if any.
Identifier of the primary inventory location associated with this separation.
High-level category of the separation (e.g., division, department).
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/with-primary-inventory-location/{separationId}
- 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/with-primary-inventory-location/{separationId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"childSeparationId": "123e4567-e89b-12d3-a456-426614174000",
"contactId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"name": "Example Name",
"parentSeparationId": "123e4567-e89b-12d3-a456-426614174000",
"primaryInventoryLocationId": "123e4567-e89b-12d3-a456-426614174000",
"separationCategory": "division",
"separationType": "example"
}'With Primary Inventory Location replaced successfully
Identifier of the child separation, if any.
Identifier of the associated contact entity, if any.
Timestamp when the separation record was created.
Human-readable name of the separation (e.g., clinic or department name).
Identifier of the parent separation, if any.
Identifier of the primary inventory location associated with this separation.
High-level category of the separation (e.g., division, department).
Canonical identifier for the separation (e.g., division, department).
Free-text type or classification of the separation as used in the source system.
{ "childSeparationId": "123e4567-e89b-12d3-a456-426614174000", "contactId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "Example Name", "parentSeparationId": "123e4567-e89b-12d3-a456-426614174000", "primaryInventoryLocationId": "123e4567-e89b-12d3-a456-426614174000", "separationCategory": "division", "separationId": "123e4567-e89b-12d3-a456-426614174000", "separationType": "example", "updatedAt": "2025-01-01T00:00:00.000Z" }