Fully replaces an existing Sex. All fields must be provided.
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
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/sex/{sexId}
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/sex/{sexId}
curl -i -X PUT \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/sex/{sexId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"abbreviation": "CODE-001",
"extensions": {},
"isActive": true,
"isDesexed": true,
"name": "Example Name"
}'Sex replaced 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" }