Reports API

Reports API

block_configurable_reports_get_report_data 

Arguments
reportid (Required)
        The report id

General structure
int   //The report id

REST (POST parameters)
reportid= int

How to connect to 3rd party data analysis tools:

You can also connect to tools like:
  1. Microsoft PowerBI
  2. Google Data Studio 
  3. Zoho Analytics 
  4. Tableau
If you have issues with how to add a URL as a datasource within your analytics tool, please contact them for help.

The URL needed from Pluto LMS:


Step 2: Use the following URL format:

https://yourdomain.com = your LMS domain
xxxxxxxxxxxxxx = your secret and secure token
y = your custom report ID

Use this URL as a template which can be added as a datasource in your 3rd party tool:

https://yourdomain.com/webservice/rest/server.php?wstoken=xxxxxxxxxxxxxx&moodlewsrestformat=json&wsfunction=block_configurable_reports_get_report_data&reportid=y

You will need to get the custom report ID from your LMS:
y would be replaced by an integer 



Step 3: The above URL will pull a JSON formatted dataset from Pluto LMS. Formatting and conversion is done by the 3rd party tool. Please contact your 3rd party reporting provider for how to import a URL datasource as JSON. 
Click here for help with Pluto LMS custom reports


    • Related Articles

    • Webinar - Reports

      Session Recording: Useful Links: Site Wide Reports Course Reports Course Gradebook Custom Reports
    • Generate your API Key

      Step 1: Click on "Site admin" > "Integrations" > "Manage tokens": Step 2: Click on "Create Token": Step 3: (1) Select the user you wish to give the API Token to, (2) Select "API" then (3) Save: Step 4: Share this token with the user or save it if ...
    • Setting Up Your API

      We advise the use of a developer to help you setup your API connection. We will offer an example of how to CREATE NEW USER on your LMS (core_user_create_users) Let's review only the required REST (POST parameters): wsfunction=core_user_create_users ...
    • Finding Course Reports

      OVERVIEW In the relevant course, you can find a variety of course reports in 1) course admin, 2) the right-hand drawer and 3) on the "Grades" page. COURSE ADMIN On the "Course admin" page, in the "Reports" tab, you can find the following reports: ...
    • Course Attendance Reports

      OVERVIEW REPORT You can see an overview of learner attendance in the "Report" tab of your attendance activity.  EXPORT ATTENDANCE REPORTS In the "Export" tab of your attendance activity, define the properties and format you wish to export.  Once ...