Skip to main content

Genders

EntityDatastoreDatastore.Gender

Genders define the gender options available for person records.

Use the Datastore_Gender endpoint to query genders.

Endpoints

List Genders

GET/v1/odata/Datastore_Gender

Single Gender

GET/v1/odata/Datastore_Gender({id})

Fields

Datastore Fields (inherited)

FieldTypeDescription
NameStringDisplay name
CodeStringUnique code identifier
LocalizedNameStringLocalized display name
IsDefaultBooleanWhether this is the default value

Relationships

RelationshipTarget EntityCardinalityDescription
PersonRelation_Person1:NPerson

Expanding Relationships

GET/v1/odata/Datastore_Gender({id})?$expand=Person
GET/v1/odata/Datastore_Gender({id})/Person

Filtering Examples

GET/v1/odata/Datastore_Gender?$filter=Name eq '{Name}'&$top={top}
GET/v1/odata/Datastore_Gender?$filter=contains(Name, '{Name}')&$top={top}
GET/v1/odata/Datastore_Gender?$filter=Code eq '{Code}'&$top={top}
GET/v1/odata/Datastore_Gender?$filter=IsDefault eq {IsDefault}&$top={top}