View Location By Id
This call returns the data for a specific location given its Id
Return
This call returns a location object, full resolved to the list of doctors associated with that location.
API
GET
/V1/dispensary/practice/location/:location_id
Path Parameters
- location_idNumberrequiredDescription
Header Parameters
- AuthorizationstringrequiredDescription
curl
curl --location -g --request GET 'https://{{api_host}}/rest/{{scope}}/V1/practice/location/12345' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}' 200
{
"location_id": 12345,
"location_name": "Main Office",
"city": "Chicago",
"region_id": "IL",
"country_id": "US",
"address": [
"Street Address",
"Office Suite"
],
"postcode": "",
"telephone": "",
"doctors":[{
"doctor_id": 321,
"doctor_name": "Dr. Wasserman",
"email": "[email protected]",
"first_name": "Jim",
"last_name": "Wasserman",
"telephone":""
}]
}