-
New Feature
-
Resolution: Fixed
-
Critical
-
4.0.1, 4.1
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MOODLE_401_STABLE
-
-
WP 4.0 - ES2 (Marina), WP 4.0 - ES3 (Marina)
Web Service to retrieve data for a particular report
Create a new webservice: core_reportbuilder_reports_retrieve($reportid, $page = 0, $perpage = 0) [*]
Parameters:
- reportid (the report id obtained from the previous WS)
- page current page to display
- perpage number of rows per page
Returns:
The report data, maybe the same as that for custom_report_exporter::get_read_structure(); but without the table rendered (just the structured data to be able to render the report)
Among the returned information the total number of rows should be returned (for pagination)
Filters for the report should be applied as same as they are for the web version
If the user sorted the report in the web version, just apply the same sorting in the WebService so it is consistent
The web version preferences for the report should be kept in the Web Service response (filters and sorting)
[*] Note that as per discussion on MDL-74957, the naming of this issue will not be consistent with the rest of the core_reportbuilder external services, and will instead be named core_reportbuilder_retrieve_report
- blocks
-
MOBILE-4077 Support user custom reports
- Closed
- has been marked as being related by
-
MDL-78532 Create a new Web Service to retrieve system reports (core_reportbuilder_retrieve_system_report)
- Closed
- is blocked by
-
MDL-74955 New Web Service core_reportbuilder_reports_list
- Closed
- Testing discovered
-
MDL-75931 Custom report exporters should accept only datasource related data
- Closed
- will help resolve
-
MDL-73291 Allow downloading of report builder using web service api keys
- Open