Skip to main content
POST
/
api
/
2.0
/
reports
/
{id}
/
delegates
/
Create a delegate for a report
curl --request POST \
  --url https://sandbox.elationemr.com/api/2.0/reports/{id}/delegates/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "group": 123,
  "user": 123
}
'
{
  "created_date": "2023-11-07T05:31:56Z",
  "deleted_date": "2023-11-07T05:31:56Z",
  "group": 123,
  "id": 123,
  "user": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer
required

The report ID.

Body

application/json

Nested serializer for RoutedDocumentDelegate.

Returns delegation information for users and groups assigned to review a report. Either user or group will be populated, but not both.

group
integer | null

ID of the delegated group. Null if this is a user delegation.

user
integer | null

ID of the delegated user. Null if this is a group delegation.

Response

Nested serializer for RoutedDocumentDelegate.

Returns delegation information for users and groups assigned to review a report. Either user or group will be populated, but not both.

created_date
string<date-time> | null
read-only
deleted_date
string<date-time> | null
read-only
group
integer | null

ID of the delegated group. Null if this is a user delegation.

id
integer
read-only
user
integer | null

ID of the delegated user. Null if this is a group delegation.