REST API
Locations & Doctors
Unlink Doctor and Location
you can remove association between a doctor and location locations passing both doctor and location ids in a delete request return this call returns a doctor object { "tab" "examples", "url" "/v1/dispensary/practice/doctor/\ doctor id/location/\ location id", "name" "api", "method" "delete", "request" { "pathparameters" \[ { "kind" "required", "name" "doctor id", "type" "string", "children" \[], "description" "the doctor id to updated " }, { "kind" "required", "name" "location id", "type" "string", "children" \[], "description" "the location to associate the doctor with" } ], "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}", "language" "200", "customlabel" "" } ], "selectedlanguageid" "st7x5ecla7vjy6twnarmd" }, "examples" { "languages" \[ { "id" "lhvvurblv3o1djzkyhqcq", "code" "curl location g request post 'https //{{api host}}/rest/{{scope}}/v1/practice/doctor/321/location/12345' \\\\\n header 'content type application/json' \\\\\n header 'authorization bearer {{access token}}' ", "language" "curl", "customlabel" "" } ], "selectedlanguageid" "lhvvurblv3o1djzkyhqcq" }, "description" "", "currentnewparameter" { "label" "path parameter", "value" "pathparameters" } }