Locations
View location
Changed onThis endpoint returns a single location by its NexHealth ID.
get/locations/{id}
Request
- Base URLhttps://nexhealth.info
- AuthAPI key in header Authorization
Path parameters
idinteger required
The NexHealth location ID
Headers
Nex-Api-Versionstring required
The NexHealth API version
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": {
"id": 7,
"name": "Default",
"institution_id": 1,
"street_address": "123 Law St",
"street_address_2": "85335, North East",
"city": "New York",
"state": "NY",
"zip_code": "54700",
"country_code": "US",
"created_at": "2020-06-05T20:16:57.007Z",
"updated_at": "2020-06-05T20:16:57.007Z",
"latitude": 37.7775028,
"longitude": -122.3970603,
"phone_number": "8888750851",
"foreign_id": "1",
"foreign_id_type": "--DataSource-",
"email": "defaultLocation@nexhealth.com",
"tz": "America/Los_Angeles",
"last_sync_time": "2020-06-17T19:23:49.176Z",
"insert_appt_client": true,
"map_by_operatory": true
},
"count": 2
}Changes
- breaking
added the new required
headerrequest parameterNex-Api-Version
- breaking