API to fetch the module level completion in a course for an user.


Problem Statement:

How to get the module level completion in course for a user.

Role: Integration Admin user.

Brief Description:

There are cases where customers wanted to know module level completion in a course for an user . This article explains how an integration admin can fetch module level completion in a course for an user

Steps to be carried out by the Integration admin to fetch the enrollment ID.

1. log in as Integration Admin.
2. Select Developer Resources < API reference
3. Switch to V2 API
4. Authorize as Admin
5. Click on learning Object: Set of Learning Object APIs
6. Click on GET /users/{id}/enrollments

7. Under Parameters >>Inculde and ID >>enter the inculde parmeter and  user  ID as shown in the below screenshot:

Inculde: learningObject,loInstance,loResourceGrades.loResource.resources
ID: 12406573

Click on try it out and you will get the results.

Note: You can leave all other parameters empty and click on try it out and you will get all the module level comletion.

Please refer the below api response to know how an user completion on one of the module associated with course is appears in the response.

For more clarity, please refer to the below video.

Reference link:

https://learningmanager.adobe.com/docs/primeapi/v2/#/

https://experienceleague.adobe.com/docs/learning-manager/using/integration/developer-manual.html

Leave a Reply

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