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

Re: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!

$
0
0

by Juan Leyva.  

Hi,

I'd recommend you to use the REST client instead the XMLRPC one, I remember that passing parameters to the XMLRPC is not very intuitive. https://github.com/moodlehq/sample-ws-clients

I'd recommend you this code change:

$enrolobj = new stdClass(); // Do it before assigning values.

Hope it helps, Juan


Viewing all articles
Browse latest Browse all 2361

Trending Articles