Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.5.15
-
Fix Version/s: None
-
Component/s: Web Services
-
Labels:
-
Affected Branches:MOODLE_35_STABLE
Description
Building on the problem statement and requirements explored in this thread - https://moodle.org/mod/forum/discuss.php?d=382775 - the User Enrolment ID (ueid) attribute is a required input for a number of API calls (e.g. core_enrol_unenrol_user_enrolment()) but there is not an API that can return this value for a given user/course/enrolment.
This improvement is to add the user enrolment ID (ueid) attribute as a returning field in the following API calls:
- core_enrol_get_enrolled_users()
- core_enrol_get_users_courses()