Open dvdcastro opened 1 month ago
As a web service consumer I can enroll/unenroll a user into a formations course using a web service function
enrol_coursepilot_edit_enrollment
courseid
userid
action
enroll
unenroll
Story
As a web service consumer I can enroll/unenroll a user into a formations course using a web service function
AC
enrol_coursepilot_edit_enrollment
with the following parameterscourseid
: INT, Mandatory, Reference to a course that lives under one of the formations course categoriesuserid
: INT, Mandatory, Reference to a user idaction
:enroll
orunenroll
enroll
action is used and they are not already enrolled in the course.unenroll
action is used and they are enrolled in the course.