HI Community, can you help me to download event reports using api? I have created a report in Event Report App and have saved it as a favorite. I need to fetch that report using api.
Thanks
-
the direct endpoint
/api/eventReports/id/data.csvdoesn’t work for downloading event report data. Instead, you should use the/api/analytics/events/endpoint. -
The documentation indicates that the
eventChartsandeventReportsAPIs are deprecated in favor of theeventVisualizationsAPI as mentioned in the DHIS2 documentation. -
If you’re encountering issues with downloading large datasets, you might need to adjust the pagination parameters.
1 Like