put https://sandbox.elationemr.com/api/2.0/staff_groups/
Responses
xxxxxxxxxx
22import requests
import json
​
access_token = "VFroUHsmrErlVI6nJ08Alwhri5RGCW"
auth_header = "Bearer %s" % (access_token)
​
data = {
'id': 140754688737550,
'name': 'group,
'is_elation_group': False,
'users': [
140754687361026,
140754687361027
],
'practice': 211,
}
resp = requests.put("https://sandbox.elationemr.com/api/2.0/staff_groups/140754688737550",
data=json.dumps(data),
headers={'Authorization': auth_header})
​
print(resp.status_code)
print(json.dumps(json.loads(resp.content), indent=2))
Try It!
to start a request and see the response here! Or choose an example: