API reference//
API Reference
/- Get a Location
List Locations
Update a Location
Archive a Location
Get a Location
Retrieve a single location by its ID.
Security
apiKeyAuth and practiceGroupId
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/locations/{id}
- Staginghttps://api.staging.htech.app/v1/locations/{id}
- Productionhttps://api.herohealth.net/v1/locations/{id}
curl -i -X GET \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/locations/{id}?include%5B%5D=include%5B%5D%3Darchived' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE'Ok
Response
{ "id": "string", "name": "string", "partner_site_name": "string", "about": "string", "email": "string", "phone_number": "string", "map_url": "string", "latitude": "string", "longitude": "string", "no_availability_text": "string", "address": { "line_1": "string", "line_2": "string", "line_3": "string", "town": "string", "county": "string", "postcode": "string" }, "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "slot_count": 0, "next_available_at": "2019-08-24T14:15:22Z" }