Creates a new With Primary Inventory Location record. With Primary Inventory Location resource in the Animal Health Data Store
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).
Canonical identifier for the separation (e.g., division, department).
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/with-primary-inventory-location
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/with-primary-inventory-location
curl -i -X POST \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/with-primary-inventory-location' \
-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",
"separationId": "123e4567-e89b-12d3-a456-426614174000",
"separationType": "example"
}'With Primary Inventory Location created 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" }