Odata query $filter for enumeration fails with Unknown enumeration member
0
I have a published Odata Service with an Enum (ProcessingStatus) as entity. When trying to do a request with a filter set for the enum I get "Unknown enumeration member IN_Edlevo.ENUM_ProcessingStatus'Not_Processed'." Odata Service definition: ENUM: According to the Odata documentation, I should enclose the enumeration member name in single quotes, prefixed with the enumeration type (for example, DefaultNamespace.PrimaryColor'Red'). $filter string I use in the Swagger test page: ProcessingStatus eq IN_Edlevo.ENUM_ProcessingStatus'Not_Processed' Request URL is as follows: https://mitt-test.hammaro.se/odata/placement/v1/PlacementsToCreate?%24filter=ProcessingStatus%20eq%20IN_Edlevo.ENUM_ProcessingStatus%27Not_Processed%27
asked
Niklas Häggström
1 answers
0
Did you try with simple enum value ‘Not_Processed’?