Gets the properties of the specified report.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/reports/{id} |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/reports/{id} |
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the required report.
DashboardReport
objectConfiguration of a dashboard report.
The dashboard report provides a public link to the associated dashboard with a custom reporting period: last week for weekly subscribers or last month for monthly subscribers.
The ID of the associated dashboard.
The email notifications for the dashboard report are enabled (true
) or disabled (false
).
The ID of the report.
DASHBOARD
DashboardReportSubscription
objectA list of the report subscribers.
A list of monthly subscribers.
Monthly subscribers receive the report on the first Monday of the month at midnight.
You can specify email addresses or Dynatrace user IDs here.
A list of weekly subscribers.
Weekly subscribers receive the report every Monday at midnight.
You can specify email addresses or Dynatrace user IDs here.
{"dashboardId": "8dd67562-8bf5-4a09-830d-4e0ca992abd6","enabled": "true","id": "337d883e-98c3-4dac-b8f2-1a9cdbd05969","subscriptions": {"MONTH": ["demo@email.com","demo2@email.com"],"WEEK": ["demo@email.com"]},"type": "DASHBOARD"}
In this example, the request inquires about the properties of the report with the ID of 0b2e3121-4f8d-4b08-a879-3047e044ba4c.
The report contains data from the dashboard with the ID of b6570e01-1d49-4bcc-a3bb-2fab2906512c. It is sent weekly to Dynatrace users john.smith and ryan.white and monthly to Dynatrace user jane.brown and also to the marketing.office@organization.com email address.
The API token is passed in the Authorization header.
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/config/v1/reports/0b2e3121-4f8d-4b08-a879-3047e044ba4c \-H 'Accept: application/json; charset=utf-8' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/config/v1/reports/0b2e3121-4f8d-4b08-a879-3047e044ba4c
{"id": "0b2e3121-4f8d-4b08-a879-3047e044ba4c","type": "DASHBOARD","dashboardId": "b6570e01-1d49-4bcc-a3bb-2fab2906512c","enabled": true,"subscriptions": {"WEEK": ["john.smith","ryan.white"],"MONTH": ["jane.brown","marketing.office@organization.com"]}}
200