Creates a new Tag record. Tag resource in the Animal Health Data Store
Security
bearer
Identifier of the resource this tag is associated with.
Example:"123e4567-e89b-12d3-a456-426614174000"
Type of resource this tag is associated with (e.g., animal, contact, invoice).
Example:"example"
Identifier of the tag category, if applicable.
Example:"123e4567-e89b-12d3-a456-426614174000"
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/tag
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/tag
curl -i -X POST \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/tag' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"associatedResourceId": "123e4567-e89b-12d3-a456-426614174000",
"associatedResourceType": "example",
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"extensions": {},
"isActive": true,
"name": "example",
"tagId": "123e4567-e89b-12d3-a456-426614174000"
}'Tag created successfully
Identifier of the resource this tag is associated with.
Example:"123e4567-e89b-12d3-a456-426614174000"
Type of resource this tag is associated with (e.g., animal, contact, invoice).
Example:"example"
Identifier of the tag category, if applicable.
Example:"123e4567-e89b-12d3-a456-426614174000"
Timestamp when the tag was created.
Example:"2025-01-01T00:00:00.000Z"
Canonical unique identifier for the tag.
Example:"123e4567-e89b-12d3-a456-426614174000"
Response
{ "associatedResourceId": "123e4567-e89b-12d3-a456-426614174000", "associatedResourceType": "example", "categoryId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "name": "example", "tagId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z" }