0 Replies Latest reply on May 22, 2018 6:14 AM by Czernobog

    vRLI 4.5 - forcing AND condition in a REST call

    Czernobog Enthusiast

      I need to filter the REST API event query using multiple constraints. Each constraint is based on the text field, like this:

      /text/CONTAINS%20FILTER1

      /text/CONTAINS%20FILTER3

      /text/CONTAINS%20FILTER2

      etc.

      I have combined all of them to a single request and the call works, however all of the constraints are checked using the ANY condition, which means a response for a match of each constraint. I need to use the AND condition so a response is triggered only if all conditions are met.

      I have tried adding different constraints like timestamp and limit in hope that it will trigger the AND condition for all constraints, but this did not work.

      How can I force AND for all text constraints?