Integration through Webservice

Integration through Webservice

by Álef Henrique -
Number of replies: 2

Hello friends!


Is there any model of the XML structure for the integration of course registration in moodle via Webservice, can it be SOAP or REST ?.


Thank you!

Average of ratings: -
In reply to Álef Henrique

Re: Integration through Webservice

by Karen Holland -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Álef!

If you are looking for the example API for enrolling a user into a course, the documentation is actually within Moodle itself.  

If you go to the url of your Moodle site with /admin/webservice/documentation.php path, then you will be able to view the API documentation and look at enrol_manual_enrol_users as the function name.

In reply to Karen Holland

Re: Integration through Webservice

by Álef Henrique -
Hello Karen Holland!
Many thanks for the reply! I would like to find the documentation to create sections within the course, but by researching I discovered that it is in the same method of creating courses, inside you select the number of sections you want.