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

Image may be NSFW.
Clik here to view.

Enroll users in a course. Help!

by anne anne.  Hi!! I want to enroll users in a moodle course with de API. I use this function, but not working I use other function to create users, it has the same format and it is working perfectly....

View Article


Re: Enroll users in a course. Help!

by David Monllaó.  Hi anne,Try with https://github.com/moodlehq/sample-ws-clients/blob/master/PHP-XMLRPC/client.php example to discard any format error, for what I see it uses an array of objects...

View Article


Image may be NSFW.
Clik here to view.

Re: Enroll users in a course. Help!

by anne anne.  But.. that example is to create users, its works perfectly like my other function. I dont know how to adapt it to my case

View Article

Moodle API REST POST Error

by Helder Carvalho.  Hi guys,I'm having problems setting up the moodle API Rest web services, I've got no problems performing GET Requests, but when I perform POST Requests I get the following...

View Article

Re: Using angular-js with moodle for frontend.

by Joey Andres.  Thanks. But we are still in 2.8. Either way, we made the decision to stick with Slim for now to do the routing.

View Article


Re: REST Web service - Missing required key in single structure: groups

by Alex Legg.  Plugin permissions were incorrect.

View Article

Re: How to get all assignments for a course.

by Ryan VanAlstine.  Has anyone found a solution for this yet?  I'm running into the same issue.  

View Article

Re: Enroll users in a course. Help!

by David Monllaó.  Hi anne,Try with https://github.com/moodlehq/sample-ws-clients/blob/master/PHP-XMLRPC/client.php example to discard any format error, for what I see it uses an array of objects...

View Article


Image may be NSFW.
Clik here to view.

Re: Enroll users in a course. Help!

by anne anne.  But.. that example is to create users, its works perfectly like my other function. I dont know how to adapt it to my case

View Article


Moodle API REST POST Error

by Helder Carvalho.  Hi guys,I'm having problems setting up the moodle API Rest web services, I've got no problems performing GET Requests, but when I perform POST Requests I get the following...

View Article

Get user id from a username

by anne anne.  Hello! I have a form and I need the user id to enrol a user into a course.The user will put his name in the form, and I store his name as: $name=$_POST[user];Which is the id of the user...

View Article

Re: Get user id from a username

by Michael Hughes.  Just to clarify:"The user will put his name" is the "user will put his username"and not their propername (terminology is everything).If it is username then you can do a look up on...

View Article

Enroll group of users to course from web services?

by marcel montel.  Hi!I am looking to create users, add them to a group and then add that group to a course, all via the web services.I am already creating new users through the web services api....

View Article


create USER via REST or XML-RPC fails with "invalidrecord Can not find data...

by Bla Blub.  Hi,I want to connect an external website with a moodle-system. I've already set up the webService and created a token to get access.I've followed...

View Article

Re: Create assignment or Create Grade via Web Service

by Mike Warner.  Hi Jared,did you figure this out?  I've been poring over the API docs, but can't see how to create a grade column (or an assignment) from a remote LMS.  Thanks,Mike

View Article


Re: Grade API Plugins

by Mike Warner.  Hi Andy,I know that it's been over a year, but I'm am investigating the ability to push grades from a non-Moodle LMS to Moodle.   Did you get this working?Thanks,Mike

View Article

Re: How to get course contents through to webservice ?

by Eseosa I.  Hey Kathir, There is an exposed function to retrieve course related data 'core_course_get_contents.'Modified from here:...

View Article


Save mod_assign_save_submission usign HTML form

by Manex Etxabe.  I would like to save an online text assigment, using a simple HTML form. I would like to save for each user logged in, but the API always saves in Admin user's assigment.The function...

View Article

How to use Moodle restful web services in Android app

by Manideep Manda.  I want to access the Moodle restful web services in my native android app.Following are the steps that I have done with:Step-1 Administration > Site administration > Plugins...

View Article

Issue while trying to access Moodle restful web service

by Manideep Manda.  URL:http://localhost/moodle/webservice/rest/server.php/?wstoken='c05f1bf389c771a41736aed9443a9620'&wsfunction='core_course_get_courses'content type: application/jsonmethod:...

View Article
Browsing all 2364 articles
Browse latest View live


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