Creates a new Sex record. Sex resource in the Animal Health Data Store
Security
bearer
Whether this sex option is active and should be available for selection.
Example:true
Indicates whether this sex classification implies desexing (e.g., neutered male).
Example:true
Human-readable name of the sex (e.g., Male, Female, Unknown).
Example:"Example Name"
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/sex
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/sex
curl -i -X POST \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/sex' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"abbreviation": "CODE-001",
"extensions": {},
"isActive": true,
"isDesexed": true,
"name": "Example Name",
"sexId": "123e4567-e89b-12d3-a456-426614174000"
}'Sex created successfully
Timestamp when this sex record was created.
Example:"2025-01-01T00:00:00.000Z"
Whether this sex option is active and should be available for selection.
Example:true
Indicates whether this sex classification implies desexing (e.g., neutered male).
Example:true
Human-readable name of the sex (e.g., Male, Female, Unknown).
Example:"Example Name"
Stable, opaque identifier for the sex record.
Example:"123e4567-e89b-12d3-a456-426614174000"
Response
{ "abbreviation": "CODE-001", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "isActive": true, "isDesexed": true, "name": "Example Name", "sexId": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2025-01-01T00:00:00.000Z" }