Table des matières

ETL Report: User guide

Handling extraction reports is only possible for administrator users, since these extractors have very global access to the data stored in Moodle.

Setting up extraction instances

For each extraction plugin, it is possible to configure several report instances, for example if several third-party applications need to use Moodle data. Be careful however that the extraction loads induced by each instance will then add up.

Accessing the data of an extraction plugin through web services

To access the extraction data, you can use the standard Moodle web services. The ETL report provides two web services described in the Technical guide.

To do so you will need to:

From that point on, the data extraction can be called by your client application in the form:

 https://<mymoodle>/service/rest/server.php?wstoken=<token>&wsfunction=report_etl_get&plugin=<etlpluginname>&id=<etlplugininstance>&queryparams=<jsonparams>

Each plugin can request specific local parameters, presented in the queryparams parameter as an object serialized in JSON. It is preferable to URL-encode the expression of this JSON object.

Back to the component index - Back to the plugin index