Hello, interested in the question, how through the REST API in moodle, do I add a certain student to a certain course? And as on tests to open and close access at all (including those who is in a course where this test is located) through api?
How me add student to certain course using REST API?
Number of replies: 1Re: How me add student to certain course using REST API?
Hi,
You can use "enrol_manual_enrol_users" to enrol user in a certain course via manual enrolment method.
You can use "enrol_manual_enrol_users" to enrol user in a certain course via manual enrolment method.