"fieldType": "MapFieldName", "field": "Latitude", |
"operator": ">", |
"value": 1 |
"=" |
equals |
If the Value is null, "=" is equivalent to "isnull" |
"!=" or "<>" |
not equals |
If the Value is null, "!=" (or "<>") is equivalent to "isnotnull" |
"isnull" |
is null |
For "isnull" the Value is ignored. |
"isnotnull" |
is not null |
For "isnotnull", the Value is ignored. |
">" |
greater than |
Only valid for non-strings |
"<" |
less than |
Only valid for non-strings |
">=" |
greater than or equals to |
Only valid for non-strings |
"<=" |
less than or equals to |
Only valid for non-strings |
"startswith" |
starts with |
Only valid for strings |
"endswith" |
ends with |
Only valid for strings |
"contains" |
contains |
Only valid for strings |
"doesnotcontain" |
does not contain |
Only valid for strings |
Filter Examples
"filter": { |
"filters": [ |
{ |
"fieldType": "MapFieldName", |
"field": "Latitude", |
"operator": ">", |
"value": 1 |
} |
] |
} |
"filter": { |
"logic": "and", |
"filters": [ |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"operator": ">", |
"value": 1 |
}, |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"operator": "<", |
"value": 10 |
} |
] |
} |
"filter": { |
"logic": "and", |
"filters": [ |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"operator": ">", |
"value": 1 |
}, |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"operator": "<", |
"value": 10 |
}, |
{ |
"logic": "or", |
"filters": [ |
{ |
"field": "Longitude", |
"fieldType": "MapFieldName", |
"operator": ">", |
"value": 1 |
}, |
{ |
"field": "Longitude", |
"fieldType": "MapFieldName", |
"operator": "<", |
"value": 10 |
} |
] |
] |
} |
Sort Examples
"sort": [ |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"dir": "asc" |
} |
] |
"sort": [ |
{ |
"field": "Latitude", |
"fieldType": "MapFieldName", |
"dir": "asc" |
}, |
{ |
"field": "Longitude", |
"fieldType": "MapFieldName", |
"dir": "desc" |
} |
] |
Field and Field Type work the same way that they do for the
Filter. Dir must be either "asc" (the default) or "desc",
case-insensitive.