PropertyFilter
PropertyFilter
This defines the property filter object.
JSON Example
{
"propname": "Severity",
"matchtype": "IN",
"values": [
"1"
]
}
string
propname
Optional
Name of the property.
string
matchtype
Optional
Type of operation. The values can be IN/EQ/REGEX/CONTAINS/MATCH.
For String type fields, the supported OPERATORs are IN, EQ, REGEX, CONTAINS and MATCH For Boolean and Integer/Long types fields the supported OPERATOR is MATCH.
- IN: Takes multiple values in array and does the exact matching (case sensitive)
- EQ: Takes only one values in array and does the exact matching(case sensitive). If passed multiple values in array then only first element will be picked
- REGEX: Takes only one values in array and perform regex operation.
- CONTAINS: Takes only one values in array and return all record which contains the requested value. Its kind of partial match query but with exact sequence of chars.
- MATCH: This is primarily used for matching INTEGER, LONG or Boolean fields. If used with string field, this will return result which will match one ore more field of searched string.
array of string
values
Optional
Values to be compare.