Versions Compared

Key

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

...

Code Block
[
  {
    "id": 196,
    "type": "city",
    "name": "Grand Rapids",
  }
  {
    "id": 200,
    "type": "zipcode",
    "name": "49456"
  }
]  

Filters

zip code ‘zipcode’ filters will return:

  1. all services matched to that specific zip code

  2. all services matched to the city where that zip code resides

  3. all services matched to the county where that zip code resides

  4. services matched to a special region at the zipcode or a larger region including the zipcode

  5. all state wide services

city ‘city’ filters will return:

  1. all services matched to any zip code contained within the city

  2. all services matched to that specific city

  3. all services matched to the county where that city resides

  4. services matched to a special region within the city or a larger region including the city

  5. all state wide services


'county' filters will return:

  1. all services matched to any zip code contained within the county

  2. all services matched to any city contained within the county

  3. all services matched to that specific county

  4. services matched to a special region within the county or a larger region including the county

  5. all state wide services

...

Now that we have the area, we can create the query.

The area only query can be made against both endpoints. [GET /services] or [GET /services/complete]

...