How to pull Module quiz score for learners using GET /users/{id}/enrollments API


In some specific use cases, admin is required to pull the quiz score for individual modules inside the course and the module names using the API.

We use Admin API :

GET /users/{id}/enrollments

We can fetch the score of the individual modules using relationship “loResourceGrades”
To fetch the details, pass ‘include’ query parameter with loResourceGrades value as part of the enrollment endpoint
Sample request URL :

https://learningmanager.adobe.com/primeapi/v2/users/7546252/enrollments?include=loResourceGrades&page[limit]=10&filter.loTypes=course&sort=dateEnrolled


However, this endpoint does not pull quiz scores from courses that are part of learning paths.

This is possible through learner API only. We do not support this in admin API.

To fetch module score for learning path you can use learningObject endpoint with include {subLOs.enrollment.loResourceGrades}.

https://learningmanager.adobe.com/primeapi/v2/learningObjects/learningProgram%3A69608?include=subLOs.enrollment.loResourceGrades

Leave a Reply

Your email address will not be published. Required fields are marked *