# Create sex Creates a new Sex record. Sex resource in the Animal Health Data Store Endpoint: POST /site/{siteId}/ahds/v1/sex Version: 1.0 Security: bearer ## Path parameters: - `siteId` (number, required) Site identifier ## Request fields (application/json): - `abbreviation` (string) Short code or abbreviation for the sex (e.g., M, F, U). - `extensions` (object) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether this sex option is active and should be available for selection. - `isDesexed` (boolean) Indicates whether this sex classification implies desexing (e.g., neutered male). - `name` (string, required) Human-readable name of the sex (e.g., Male, Female, Unknown). - `sexId` (string, required) Stable, opaque identifier for the sex record. Example: "123e4567-e89b-12d3-a456-426614174000" ## Response 201 fields (application/json): - `abbreviation` (string, required) Short code or abbreviation for the sex (e.g., M, F, U). - `createdAt` (string, required) Timestamp when this sex record was created. Example: "2025-01-01T00:00:00.000Z" - `extensions` (object, required) Vendor- or practice-specific extensions. - `isActive` (boolean, required) Whether this sex option is active and should be available for selection. - `isDesexed` (boolean, required) Indicates whether this sex classification implies desexing (e.g., neutered male). - `name` (string, required) Human-readable name of the sex (e.g., Male, Female, Unknown). - `sexId` (string, required) Stable, opaque identifier for the sex record. Example: "123e4567-e89b-12d3-a456-426614174000" - `updatedAt` (string, required) Timestamp when this sex record was last updated. Example: "2025-01-01T00:00:00.000Z" ## Response 400 fields ## Response 401 fields ## Response 409 fields