Comparators
Comparators are used for defining rules and filters to include or exclude data retrieved by an API endpoint. The following are allowed comparators in the DMP API:
Comparator | Aliases | Description |
---|---|---|
= | equals | The value of the field is the same as the value provided |
!= | notequals | The value of the field is not the same as the value provided |
> | The value of the field is greater than the value provided; usually for comparing numbers | |
>= | The value of the field is greater than or equal to the value provided; usually for comparing numbers | |
< | The value of the field is less than the value provided; usually for comparing numbers | |
<= | The value of the field is less than or equal to the value provided; usually for comparing numbers | |
after | The value of the field is after the value provided; usually for comparing dates | |
before | The value of the field is before the value provided; usually for comparing dates | |
between | The value of the field is between the values provided; usually for comparing numbers | |
contains | The value of the field contains the value provided; usually for searching against string fields | |
doesnotcontains | The value of the field does not contain the value provided; usually for searching against string fields | |
end | ||
half |