How can we call course custom fields?
by Azmat Ullah. Hi all,Can any refer any relevant API function to retrieve course custom fields.I search the most relevant one is core_course_get_courses_by_field but it difficult to search in custom...
View ArticleGet a user created by core_user_create_users using core_user_get_users
by Vincent LEPELLEY. Hello,I'm trying to do a script PHP using MoodleRest (https://github.com/llagerlof/MoodleRest) to create a user (if it doesn't exist), i can find users created manually (probably...
View ArticleGet token when using external login provider
by Nils Kattenbeck. I am trying to get a API token but cannot use a normal username and password as we use an external login provider (shibboleth). Is there an alternative way to generate a token? I...
View ArticleRe: Get roles Webservice API
by Declan Lawton. Hi,According to me, you must reach out to some known web developers for a perfect solution to your web service query. Recently I get in touch with one of the development experts from...
View ArticleMoodle Web services - Secure ???
by Nilesh Pathade. Hi all,I am trying to integration my external application which is developed into Java and Angular technology with Moodle.Moodle has process to create web service token, Site...
View ArticleGetting the hashed password with API
by Alexandre DE RYCKE. Hi,I'm using the API of moodle in an Android app. To make them able to log without internet, we do have a local BDD on the phone. Which have quite the same data as Moodle. So if...
View ArticleUnable to get submissions of group assignment
by Nils Kattenbeck. Some teachers of the university I work for would like to automate assignment grading (especially coding tasks). However when I call the "mod_assign_get_submissions" REST function...
View ArticleRe: Get a user created by core_user_create_users using core_user_get_users
by Lawrence Lagerlof. Hi Vincent. MoodleRest dev here.This class is just an easier way to query Moodle webservices. It runs synchronous, so if you call a core_user_create_users using this class you...
View ArticleRe: Django with Moodle
by Syed Ibrahim. I have created the web service but i donot know how to access it in django. Is there any solution? The packages available seem to be outdated.
View ArticleUpload a file via webservice
by Azmat Ullah. Hi,Is there any documentation that help us is to upload a file using Moodle webservice?Thanks.
View ArticleUser enrolments with roles
by Mats Magnem. HiI am using the Moodle API to get the courses that a user is enrolled in. I use the wsfunction "core_enrol_get_users_courses" to do this. I am using a token that belongs to a...
View ArticleDisplaying "plugin files" publicly
by Doug Henner. Dear All,on our Moodle - site (Moodle 3.5, adaptable theme) I want to make some videos from Moodle visible for the public. For example we have a short uploaded video like e.g....
View ArticleHelp with core_enrol_get_users_courses
by Carlos Chiarella. Hi all,We are running Moodle version 353 with PHP 7.2, We are trying to use the following web service:core_enrol_get_users_coursesAlthough we know that there are users enrolled in...
View ArticleProblem With Cache
by Petros Kara. I am developing locally (xampp) a web service inside a Moodle plug in. When i make a change in my code (ex. externallib.php), i must hit the button 'Purge All Cache' (and specifically...
View ArticleHow to Disable Email Notification to course participants send by teacher.
by Shahnawaz Khan. Dear All,I am admin to my Moodle server. I just want disable email notification to participants of a course send by his/her tutor. Actually when students are offline then only they...
View ArticleRe: "No permission to create web service token for the service" with custom...
by Ricardo Caiado. Thanks, Brian!! Save my day!! Ricardo
View ArticleUser enrolments with roles
by Mats Magnem. HiI am using the Moodle API to get the courses that a user is enrolled in. I use the wsfunction "core_enrol_get_users_courses" to do this. I am using a token that belongs to a...
View ArticleHow to get logged in userid ?
by Magal H. Hi, is there a way to get the id (or user info) of the currently logged in user using web services?I have a subdomain that needs to check if a user is already logged in and display data....
View ArticleRe: Help with core_enrol_get_users_courses
by Magal H. Just tested on our system and we get a successful result displayed. Maybe service disabled?
View ArticleLaunch a course using web services
by Sumeet kumar. Hello All,I am very new to moodle, So please forgive me if i ask a stupid question. I searched for quite sometime before posting the questions. We are trying to create a new...
View Article