REST API
Locations & Doctors
View Doctor by Id
this call returns the data for a specific doctor given an id return this call returns a doctor object, fulyl resolved to the list of locations they are associated with { "tab" "examples", "url" "/v1/dispensary/practice/doctor/\ doctor id", "name" "api", "method" "get", "request" { "pathparameters" \[ { "kind" "required", "name" "doctor id", "type" "number", "children" \[], "description" "the id for the location" } ], "queryparameters" \[], "headerparameters" \[ { "kind" "required", "name" "authorization", "type" "string", "children" \[], "description" "the access token" } ], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "st7x5ecla7vjy6twnarmd", "code" "{\n \\"doctor id\\" 321,\n \\"doctor name\\" \\"dr wasserman\\",\n \\"email\\" \\"drwass\@example com\\",\n \\"first name\\" \\"jim\\",\n \\"last name\\" \\"wasserman\\",\n \\"telephone\\" \\"\\",\n \\"locations\\" \[\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 }\n ]\n}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "st7x5ecla7vjy6twnarmd" }, "examples" { "languages" \[ { "id" "lhvvurblv3o1djzkyhqcq", "code" "curl location g request get 'https //{{api host}}/rest/{{scope}}/v1/practice/doctor/321' \\\\\n header 'content type application/json' \\\\\n header 'authorization bearer {{access token}}' ", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "lhvvurblv3o1djzkyhqcq" }, "description" "", "currentnewparameter" { "label" "path parameter", "value" "pathparameters" } }