Coding mode (raw mode) in filters

You can compose complex filters in API

"exp": "all" == AND

"exp": "any" == OR

[
	{
		"exp": "all",
		"filters": [
        {
            "exp": "any",
            "filters": [
                {
                    "exp": "isEmptyValue",
                    "field": "category",
                    "value": "{{HttpRequest.category}}",
                    "isExp": false
                },
                {
                    "exp": "in",
                    "field": "category",
                    "value": "{{HttpRequest.category}}",
                    "isExp": false
                }
            ]
        },
        {
            "exp": "any",
            "filters": [
                {
                    "exp": "isEmptyValue",
                    "field": "portalID",
                    "value": "{{HttpRequest.portalid}}",
                    "isExp": false
                },
                {
                    "exp": "==",
                    "field": "colour",
                    "value": "{{HttpRequest.colour}}",
                    "isExp": false
                }
            ]
        }
		]
	}
]

Last updated