REST API
Locations & Doctors
List Locations
this call lists all the locations associated with the practice return this call returns a fully expanded list of locations and associated doctors { "tab" "examples", "url" "/v1/dispensary/practice/location", "name" "api", "method" "get", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "authorization", "type" "string", "children" \[], "description" "the access token" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "st7x5ecla7vjy6twnarmd", "code" "{\n \\"items\\" \[\n {\n \\"location id\\" 12345,\n \\"location name\\" \\"main office\\",\n \\"city\\" \\"chicago\\",\n \\"region id\\" \\"il\\",\n \\"country id\\" \\"us\\",\n \\"address\\" \[\n \\"street address\\",\n \\"office suite\\"\n ],\n \\"postcode\\" \\"\\",\n \\"telephone\\" \\"\\",\n \\"doctors\\" \[\n {\n \\"id\\" 6,\n \\"name\\" \\"fhqa08 william epperly, md\\",\n \\"email\\" \\"\\"\n },\n {\n \\"id\\" 10,\n \\"name\\" \\"fhqa08 roanne dunaway, pa c\\",\n \\"email\\" \\"\\"\n },\n {\n \\"id\\" 17,\n \\"name\\" \\"fhqa08 anjitha thomas, pa c\\",\n \\"email\\" \\"\\"\n }\n ]\n }\n ],\n \\"search criteria\\" {\n \\"filter groups\\" \[],\n \\"current page\\" 1\n },\n \\"total count\\" 23\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "st7x5ecla7vjy6twnarmd" }, "examples" { "languages" \[ { "id" "lhvvurblv3o1djzkyhqcq", "code" "curl location g request get 'https //{{api host}}/rest/{{scope}}/v1/practice/location' \\\\\n header 'content type application/json' \\\\\n header 'authorization bearer {{access token}}' ", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "lhvvurblv3o1djzkyhqcq" }, "description" "", "currentnewparameter" { "label" "path parameter", "value" "pathparameters" } }