TwentyT
Twenty13mo ago
9 replies
Ferdinand H

How can I filter an enum via the REST API ?

Sorry for the noobie question but if I want to get all result filtering on an array of enum via the REST API I would naturraly use this:
type[in]:[ENTREPRISE] => 400 Bad request

Also tried:
- type[in]:['ENTREPRISE']
- type[in]:ENTREPRISE
- type[in]:'ENTREPRISE'

Didn't have more success !
What is the proper way ?
(ideally I would like the opposite but I presume once I have the correct way a not(<correct_format>) should do the trick right ?)
Was this page helpful?