Queries
Get the body of an EMR report activity
This request allows us to fetch the details of an EMR report activity.
- graphql
01query GetEmrReport($id: String!) {02 emrReport(id: $id) {03 report {04 id05 message_html06 metadata {07 id08 label09 value10 }11 }12 }13}
An example id
for an EMR report is "9rjfb9qE4pEY".
- json
01{02 "id": "{{EMR_REPORT_ID}}"03}
The id of the EMR report can be found in the object.id
field of an activity.
- json
01{02 "activity": {03 "id": "{{ACTIVITY_ID}}",04 "object": {05 "id": "{{EMR_REPORT_ID}}",06 "type": "emr_report"07 },08 ...09 }10}