Combine filter and order in API calls?

Hi,

is it possible to pass both order and filter parameters to the API calls? I searched both docs and board, but did not find an answer.

e.g. api-call/?orderby=date asc AND filterby=name eq ‚XY‘

I tried and the only result is an API response telling me that either orderby or filterby is invalid, depending on which one is first.

I could filter or order in a third party tool calling the API, but a refined API response would facilitate the process.

Greg

Hi @Gregor1, yes you can do that. You need to pass them as separate query params. Didn’t test it but this should work:

api-call/?orderby=date asc&filterby=name eq 'XY'

Oh, stupid me :man_facepalming:

Separate parameters makes so much sense :wink: