API Rest - Advanced filtering with OR expression


I would like to retrieve form submissions depending on two fields, using an OR expression.

First, I can filter on one field value with the following request:


This works well. Now I want to search on an other field value if the first one does not match (OR expression). I cannot find how to do this.

I tried this:


But it obviously does not work because it uses an AND operator I guess.

And this:


But it seems that my query parameter orWhere is not taken into account.

Do you know how can I achieve this ?

Thank you for your time.

I haven’t tested it, but it seems that the API Library has an “orX” option:

It’s an alias for the Doctrine’s orX method:

Let us know if it works, please.