Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{"$table.field:like": [{"table1.field1": ["value1","value2","value3"...]}...]}


$area queries are only available for services and services/complete endpoints
$area - queries services that exist within geographical areas.

Code Block
{"$area": {"type":"value", "name":"value"}}

$area:like - queries services that exist within geographical areas. It will match on any LIKE area ‘name’ value.

Code Block
{"$area": {"type":"value", "name":"value"}}

$area - $table.field - queries services that exist within geographical areas. $table.field is an optional search parameter that allows added filtering by taxonomy terms. This can be used with area:like as well.

Code Block
{"$area": {"type":"value", "name":"value", "$table.field":[{"table1.field1": "value1"}, {"table2.field2": "value2"},...]}}

$area - $table.field:like - queries services that exist within geographical areas. $table.field is an optional search parameter that allows added filtering by taxonomy terms. This can be used with area:like as well.

Code Block
{"$area": {"type":"value", "name":"value", "$table.field:like":[{"table1.field1": "value1"}, {"table2.field2": "value2"},...]}}

$area - $in - queries services that exist within geographical areas. $table.field is an optional search parameter that allows added filtering by taxonomy terms.
This query is only available for services and services/completefiltering by taxonomy terms. This can be used with area:like as well.

Code Block
{"$area": {"type":"value", "name":"value"}, "$table.field$in":[{"table1.field1field": ["value1value"}, {"table2.field2": "value2"},..."value]}}

$area - $in:like - queries services that exist within geographical areas. It will match on any LIKE area ‘name’ value. $table.field is an optional search parameter that allows added filtering by taxonomy terms.
This query is only available for services and services/completeThis can be used with area:like as well.

Code Block
{"$area:like": {"type":"value", "name":"value"}, "$table.field$in:like":[{"table1.field1field": ["value1value"}, {"table2.field2": "value2"},..."value]}}


distance_info - this is a subquery of $table.field, $table.field:like, $area, $area:like
This query is only available for services/complete
This will return distance information of the services location relative to the center of the input location
the distance_info accepts three options.

...

$table.field: return all locations with physical_address.region equal to Berrien AND service.name equal to NUTRITION EDUCATION
query: {"$table.field":[{"physical_address.region": "Berrien"},{"service.name":"NUTRITION EDUCATION"}]}

 

 

 

Query Detailed Descriptions

...