Re: a set course content or set Section Webservices?
by Daniel Neis Araujo. Hello,I was looking at this last week and found some incomplete tracker issues: MDL-40779 , MDL-37083 , MDL-37937 .Some of them have outdated patches, but can help.Maybe we can...
View ArticleRe: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!
by A W. Hi Juan,Many thanks for getting back to me much appreciated.I tried adding the :$enrolobj = new stdClass();both inside and outside the for loop and it made no difference, indeed leaving the:...
View ArticleRe: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!
by A W. Still not working does anyone have anymore suggestions?I even tried it with REST as well, initially did test of create user which worked, then tried enrol...
View ArticleRe: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!
by A W. A colleague managed to solve this, transpires the issue is the array must be labelled 'enrolments' so:$enrols[] = $enrolobj;$params = array('enrolments' => $enrols);works.Quite how one...
View ArticleRe: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!
by Eloy Lafuente (stronk7). Hi A W,maybe it's not that the array element must be named... but that you need to pass an array of arrays? I mean, the 1st param is a "list of enrolment objects", aka an...
View ArticleRe: Wasted over a day and still can't get enrol_manual_enrol_users to work!!!!
by A W. Hi Eloy,Thanks for the post. To test your theory I tried using the working code but just changed the label 'enrolements' to 'NOTenrolments' i.e.$enrols[] = $enrolobj;$params =...
View ArticleRe: a set course content or set Section Webservices?
by Daniel Neis Araujo. I was playing with the code attached to MDL-40779 and it quite works for the forum module now.I think it would be a nice addition for 3.3, to be able to add modules via the...
View ArticleRe: core_user_get_users function doesn't return the user data?
by Monita Dwi Nuraeni. I was learning about core_user get_users web service. can you explain to me how to use core_user_get_users webservice ?
View ArticleRe: a set course content or set Section Webservices?
by Benjamin Jahic. Very nice, thank you for your interesting information. Currently, we were looking for a technology to by pass the web service. We were looking for writing our own web service, or...
View ArticleRe: Getting Scorm id of a course
by Samer Hameed. Hi DualCube,the code you mention is working fine, but I need to fetch all scorm in the course ??as well as can please explain, or if you have some documentation shows how we can fetch...
View ArticleProgrammatically Configure Web Services
by Brennen Peters. I am working on automatically deploying and configuration of moodle 3.X. However, two things I wish to configure require the admin to go through a GUI workflow.1. Turning on Web...
View Articlelogin whit ajax
by Yuri Rodrigues. how i login using ajax request??i try this:$.ajax({ url: 'mymoodle.com/login/index.php', type: "GET", dataType: "json", success: function (data) { console.log(data); } });but i dont...
View ArticleSOAP "enrol_manual_enrol_users" finished before users are enroled
by Andreas Österreicher. Hi!I'm using the SOAP Webservice to enrol user to courses, create groups and assign the user to the groups. All the functions are working correctly by its own, but if i use...
View ArticleRe: Get user token in SSO environment
by Marc Salvat. Hello,Have you found a way of doing this or any clue ?I'm currently facing the exact same problem.The users are logged into Moodle thanks to SSO and I can't retrieve their token (they...
View ArticleEXTERNAL WEB SERVICE
by Jesus Montealegre Astillero. Hi everybody! I've a question....I want to make a web service, for example, from my local server (Xampp), and this web service create a user, but with new fields that...
View ArticleRe: Current status of ws development?
by Ashi Dubey. you can use SMS Service provider to send sms.
View ArticleIs it possible to trigger the update of course completion status for a single...
by Lee Howard. I am using web services to query the course completion status. Calling core_completion_get_course_completion_status does work and returns a valid response, but it is not always up to...
View ArticleConnect moodle with a service
by Sebastian Flores. Hello, First of all thanks if you are reading, my english isn't the best so I hope you can understand and help if you can.So i'm working with my university and doing a page that...
View ArticleSSO Webservice
by Laura Agostino. Hello,I am trying to find a way to create single sign on via soap request and response. The client has a button on their website that will pass the username and a token key to...
View Article