Quantcast
Channel: Web services
Browsing all 2361 articles
Browse latest View live

Re: Update user data using web services

by john saylor.  in 2.4 there's a new webservice function:core_users_update_userwhich is probably exactly what you need.If you can't update to this version, perhaps you can integrate this code into...

View Article


OKTech SOAP get_my_courses issue

by Ondrej Vacek.  Hi, I`m developing a small android client for moodle as school project. I`m using the latest Moodle version 2.4.3+ (Build: 20130405) and the latest wspp (downloaded...

View Article


Re: OKTech SOAP get_my_courses issue

by Patrick Pollet.     Hi Ondej,        Are you sure you are using the latest version from github ? This has been fixed a month ago and is due to changes in Moodle API specific to 2.4 ... Remember that...

View Article

Re: OKTech SOAP get_my_courses issue

by Ondrej Vacek.  Hi Patrick,first of all, thank you very much for such a quick response I know Moodle is making new versions like beaking bread and it`s hard to keep up with them.As you advice, I`ve...

View Article

Re: OKTech SOAP get_my_courses issue

by Patrick Pollet.  Ok I guess I found it. Some of the fields in table mdl_course have been deleted in Moodle 2.4.3 such as 'numsections' and this break operation get_my_courses ; you could see it by...

View Article


Re: OKTech SOAP get_my_courses issue

by Ondrej Vacek.  Thank you very much, man. It`s working. If you ever want something (programming related), just ask. I`ll gladly help you.

View Article

Re: Update user data using web services

by Martí Vallejo Noguer.  Thanks for the answer!I've tried to use this web service and after configurating it all I've got some problems, this is the code:$params['users'][0]['id']="68";...

View Article

Re: Web Services get_my_module_grade

by Patrick Pollet.  @andrew   the operation get_my_module grade (and the related get_my_quiz_grade, get_my_assignment_grade...) were indeed broken due to confusion between course's module id and...

View Article


Image may be NSFW.
Clik here to view.

Re: OKTech SOAP get_my_courses issue

by Patrick Pollet.  That's online on github together with minor fixes in grade retrieving , see https://moodle.org/mod/forum/discuss.php?d=225924#p982425>  If you ever want something (programming...

View Article


Add a resource using a custom web service

by John Roche.  Hi all,As the title states I am trying to add a resource using a custom web service.At the moment I am sending a .zip file to my moodle site which contains a set of files and...

View Article

Re: Add a resource using a custom web service

by Jason Cameron.  I would also be interested in this.  I am attempting to add an activity from a web service, and having knowledge of how a resource is added would probably be similar enough for me to...

View Article

Re: Add a resource using a custom web service

by John Roche.  Hi Jason,The dndupload_ajax_processor class in the github url in my original post (i can not enter a correct link yet)  shows how to create a resource. I can create an empty resource...

View Article

Re: Add a resource using a custom web service

by John Roche.  *user private area

View Article


Image may be NSFW.
Clik here to view.

OKTech REST (function oktech_get_grades)

by Raymond Cosgrave.  I may not be using this method correctly but I am not getting any data for courses, it is either blank or the records returned denote that the user did not complete the course. I...

View Article

Re: Add a resource using a custom web service

by John Roche.  As I have said, I have the web service running and creating a empty resource. I am having difficulty associating the file in the user private area to the resource.I know where the drag...

View Article


Re: OKTech REST (function oktech_get_grades)

by Patrick Pollet.  @raymond,1) first make sure that your scormactivities did record grades in your course gradebook. I have seen recently that it is not always the case see...

View Article

Re: Add a resource using a custom web service

by John Roche.  Just to finish up on this.The code here (class dndupload_ajax_processor) shows how to create a resource and add it to the course. The only code that needs to be changed is to copy your...

View Article


Re: Web service for android.

by Fábio Barreiros.  HI i'am with the same problem, i see nobody had answered, had you made some progress since 2010 than you can share?! 

View Article

Re: Add a resource using a custom web service

by Jason Cameron.  Thanks for sharing John.  Just to let you know I have been making progress on the course module web service, and I am actually using the PHPUnit Tests as references.  It may help if...

View Article

Re: Create a user for a webservice automatically

by Martin Mastny.  Hello Pablo,I was also experiencing this kind of issue. My problem was, that my plugin was just for teachers, so when somebody is assigned as a teacher I also have to assign a web...

View Article
Browsing all 2361 articles
Browse latest View live