09. Filter on enumeration properties
GET http://services.odata.org/V4/TripPinService/People?$filter=Gender eq Microsoft.OData.SampleService.Models.TripPin.PersonGender'Female'
You can filter any type of collection in OData services. When referring to a member of enum properties, please don't ignore the namespace for the enum property.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
$filter | string |