Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2364

Re: Unable to manual enrol: enrol_manual_enrol_users

$
0
0
by Hajo Emch.  

Hi Tim

thanks for help. 

I use data transfer objects with xml Attributes and had a space after userid. 

Now it works better, but I get: 

 {"exception":"require_login_exception","errorcode":"requireloginerror","message":"Kurs oder Aktivit\u00e4t nicht benutzbar","debuginfo":"Not enrolled"}


I use a call with  https://<my-site>/webservice/rest/server.php?wstoken=<mytoken>&wsfunction=enrol_manual_enrol_users&moodlewsrestformat=json&application/x-www-form-urlencoded=enrolments…

This works for me for example for the method core_course_update_courses 


Do I also have  to submit username and Password?


Hajo 



Viewing all articles
Browse latest Browse all 2364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>