In some particular use instances, admin is required to tug the quiz rating for particular person modules contained in the course and the module names utilizing the API.
We use Admin API :
GET /customers/{id}/enrollments
We will fetch the rating of the person modules utilizing relationship “loResourceGrades”
To fetch the main points, move ‘embrace’ question parameter with loResourceGrades worth as a part of the enrollment endpoint
Pattern request URL :
https://learningmanager.adobe.com/primeapi/v2/customers/7546252/enrollments?embrace=loResourceGrades&web page[limit]=10&filter.loTypes=course&type=dateEnrolled![]()
Nonetheless, this endpoint doesn’t pull quiz scores from programs which are a part of studying paths.
That is doable by way of learner API solely. We don’t assist this in admin API.
To fetch module rating for studying path you should utilize learningObject endpoint with embrace {subLOs.enrollment.loResourceGrades}.