Apply several conditions to a filter

12 views
Skip to first unread message

Pablo Rodríguez

unread,
Oct 26, 2016, 9:28:45 AM10/26/16
to CATS API
Hello!

Do you know how to filter by different fields? For example:

http://XXXXXXXXXXXXX.catsone.nl/api/get_joborders.php?subdomain=XXXXXXXXXXXXX&transaction_code=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&filter=extra_field18605;isexactly;SOMETHING;extra_field20157;isexactly;SOMETHINGELSE

I would like to filter by SOMETHING and by SOMETHINGELSE in those particular fields.

Is it possible? I tried many things already.

Thanks!

Aaron Baluczynski

unread,
Oct 26, 2016, 10:12:36 AM10/26/16
to CATS API
Hi Pablo,

You would use HTTP array notation on the "filter" field. For example: &filter[]=extra_field18605;isexactly;SOMETHING&filter[]=extra_field20157;isexactly;SOMETHINGELSE

Aaron

Pablo Rodríguez

unread,
Oct 27, 2016, 3:05:53 AM10/27/16
to CATS API
Hi Aaron,

Thanks a lot!

It was a really simple answer, basic HTML, ouch!

Thanks for your time!
Reply all
Reply to author
Forward
0 new messages