Re: Can't see Web Services Plugin in Moodle 3.11
by Ali Samie. I am using version 4 of moodle and this worked for me too. Thanks
View Articlecore_user_get_users_by_field returning empty array
by Carles Franquesa. Hi all,Trying to use moodle APIs. All steps in the overview web services have been met. Let me tell:step 1. Web services enabled for the site:step 2. REST protocol enabled:step...
View Articlehow to use mod_assign_save_grade
by aya ashraf. I'm trying to use mod_assign_save_grade with :...
View ArticleRe: core_user_get_users_by_field returning empty array
by Carles Franquesa. Already solved. Solution consisted of adding the moodle/user:viealldetails capability to the role.
View ArticleWhich permission is needed to use enrol_manual_unenrol_users?
by Carles Franquesa. Hi all,There's a student called "Aa A" enrolled in a course called "002 Curs número 2", as you can see in the image.The id of the course is "3", gotten from a call to...
View ArticleRe: Which permission is needed to use enrol_manual_unenrol_users?
by Carles Franquesa. Solved, This time the mistake was the function "enrol_manual_unenrol_users" was not in the external services functions. Once added, things work.
View ArticleRe: core_completion_get_course_completion_status is not completed. Why?
by Patrick Witter. Did you manage to figure it out as I am facing the same issue?
View ArticleRe: core_completion_get_course_completion_status is not completed. Why?
by Oliver Kaiser. Yes, we have a solution. There are tasks that have to run regularly. There is a completion task there. You can run it manually or configure it.You can find them under...
View ArticleWhat is the field for percentage grade?
by David Ward. I am trying to retrieve the percentage grade by student by Moodle course.In Moodle, what is the field that stores that value? Or is that a calculated field?In the screen shot below,...
View ArticleRe: What is the field for percentage grade?
by Michael Hughes. So it's complicated. The category "Course total" is partly in "grade_categories" which defines the item (as a special case of a grade_item), however values for grades are held in a...
View ArticleRe: How to get mobile web service token using OAuth?
by Selim Temizer. I have the same problem. I would like to get tokens for users logging with their Google accounts. Any solutions yet?
View ArticleAjax login issue
by Jack Evans. 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 don't...
View ArticleRe: What is the field for percentage grade?
by David Ward. It looks like there is a field percentageformatted which contains the value that is displayed on the screen.By regular rounding rules, the percentageformatted is incorrect in this...
View ArticleA problem with mod_assign_get_submissions
by kanthsree s. I am on Moodle 4.0 and am trying to get Assignment Submission files of a Student User. I generate a token using the standard webservice approach of sending username and pwd. But when I...
View ArticleAm I missing something - GET vs POST
by Martin Greenaway. When setting up a new custom web service, I understand the process as described in the documentation on here and I can get it working fine, and have done several times for various...
View ArticleRe: Am I missing something - GET vs POST
by Andreas Grabs. Hi Martin, there is a nice plugin that gives you a restful api.https://moodle.org/plugins/webservice_restful Maybe it is what you are looking for. Best regards Andreas
View Article"core_course_update_courses" method
by Selma GÜZEL. Hello,Is there any parameter for updating the "Calculate the end date from the number of sections" field in a web service methods? Or can we update all of the saved records from moodle...
View ArticleYnt: "core_course_update_courses" method
by Selma GÜZEL. For clarification, my issue is this: https://tracker.moodle.org/browse/MDL-64515 Is there a solution fot this?
View ArticleWeb Service Error (Moodle 4.0)
by fpalma fpalma. I keep receiving the web Service error below when I attempt to add a function to an external web service:Coding error detected, it must be fixed by a programmer: Cannot find file...
View ArticleGot webservice_access_exception when use core_files_upload in postman
by Xía Bùi Văn. Hello everyone,I got ex error when calling core in postman, I tried using both admin and student account but still have the above problem.Can you help me solve this problem or make me...
View Article