Clinic Locations
GET {{baseUrl}}/experimental/health/v0/clinics?filter.id=989898&filter.postalCode=45202&filter.radiusInMiles=10&page.size=1&page.offset=0
Provides access to clinic locations within a specified radius (default radius is ten miles) around a geographic location. One of the three following sets of parameters are required:
filter.postalCode
filter.latLng
filter.lat
andfilter.lng
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter.id | number | (Required) The id of the Clinic Location from the Clinic Locations endpoint. | |
filter.postalCode | number | The zip code to use as a starting point for results. | |
filter.latLng | string | The latitude and longitude to use as a starting point for results. | |
filter.lat | string | The latitude to use as a starting point for results. Must be combined with the filter.lng parameter. | |
filter.lng | string | The longitude to use as a starting point for results. Must be combined with the filter.lat parameter. | |
filter.radiusInMiles | number | The mile radius of results from the specified starting point. | |
page.size | number | The number of results to return. | |
page.offset | number | The index of the first item to return, using a 0-based index. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept-Language | string | The language or locale accepted by the client application. | |
x-mock-response-code | number | Used to specify the type of response to receive from the mock service. Indicate the desired response code from available codes on this service: 200, 400. |
RESPONSES
status: OK
{"data":[{"id":"98989898","versionKey":"5692cc40af18","name":"The Little Clinic - General Office","phone":"magna voluptate occae","chain":"THE LITTLE CLINIC","location":{"address":{"street":"1014 Vine St","locality":"Cincinnati","postalCode":"45202","countryCode":"US","region":"OH","unit":"Suite 1"},"coordinates":{"lat":"39.103062","lng":"-84.513443"}},"hours":{"timezone":15745367,"open24":false,"monday":{"open":"06:00","close":"23:00","open24":false},"tuesday":{"open":"06:00","close":"23:00","open24":false},"wednesday":{"open":"06:00","close":"23:00","open24":false},"thursday":{"open":"06:00","close":"23:00","open24":false},"friday":{"open":"06:00","close":"23:00","open24":false},"saturday":{"open":"06:00","close":"23:00","open24":false},"sunday":{"open":"06:00","close":"23:00","open24":false}},"appointmentTypes":[{"name":"FLU","description":"Flu-like illness.","category":"General"}]}],"meta":{"page":{"offset":0,"size":1,"hasMore":true}}}