...
Code Block | ||
---|---|---|
| ||
{ type: 1, logicalOperator: 'OR', subFilters: [ { 'fieldName': 'Name', 'operator': '=', 'value': 'Awesome'}, { 'fieldName': 'Name', 'operator': '=', 'value': 'Nice'} ] } |
The groupings can be nested inside the subFilters property, allowing for more complex logic. This example shows A OR (B AND C):
Code Block |
---|
{
type: 1,
logicalOperator: 'OR',
subFilters: [
{ 'fieldName': 'Name', 'operator': '=', 'value': 'A'},
{
type: 1,
logicalOperator: 'AND',
subFilters: [
{ 'fieldName': 'Name', 'operator': '=', 'value': 'B'},
{ 'fieldName': 'Name', 'operator': '=', 'value': 'C'}
]
}
]
} |
The following properties are required
...