404 error when using browser url
by Elliott Lovell. I am attempting to view the json response in a browser for the custom service that I created on my moodlecloud site.I have four functions, and I am trying to return the calendar...
View ArticleRe: 404 error when using browser url
by Elliott Lovell. Update: I removed /moodle from the URL and was able to get an invalid token json response back in the browser. I was using the example URL from the Creating a web service client...
View ArticleWhy $_POST is empty when send postfields ?
by Jesus Marquez. I am using curl_php:curl_setopt($curl, CURLOPT_POST, 1) curl_setopt($curl, CURLOPT_POSTFIELDS, $str)curl_setopt($curl, CURLOPT_RETURNTRANSFER, true)curl_setopt($curl,...
View Articleweb service core_files_upload, The file has not been specified
by Carlos H Bolaños. Moodle version 3.3Best regard,I have configured the REST web service.he made tests with core_course_get_courses and everything perfect, if you list me. BUT when I use...
View ArticleRe: core_course_create_courses does not accept French accents characters
by Karen Holland. Hi Ahmed, I'd recommend that if you can re-create the issue on the latest version of Moodle, that you should check tracker for any related bug reports and if not there, that you...
View ArticleCalling core_enrol_get_enrolled_users - Invalid parameter error
by Azmat Ullah. Hi,I'm trying to get enrolled users of the course but getting invalid parameter error. While passing correct parameter.$functionname = 'core_enrol_get_enrolled_users';$params =...
View ArticleGet Updated Grades Since the given time stamp
by Mohammad Hadiuzzaman. Hi there,I need assistance on API functionality for getting the grades that updated since a given time. The core function core_grades_get_grades only allow to get specific...
View Articleerror in display "mod_quiz_get_attempt_data" result
by Masoud Vafaei. Hi AllI'm trying to develop an external client for quiz module. and use mod_quiz_get_attempt_data to fetch quiz question. when I want to show the result in HTML view, faced with the...
View ArticleRe: REST API: check if user exists?
by Rosa Muñoz. Hello I'm trying to create a web service to authenticate users, given that, it has a custom function that I program. What I do not understand is how to consume this function. I have...
View ArticleRe: error in display "mod_quiz_get_attempt_data" result
by Shamim Rezaie. Hi Masoud,Please post the full response you receive after calling mod_quiz_get_attempt_data.
View ArticleRe: error in display "mod_quiz_get_attempt_data" result
by Masoud Vafaei. Hi result file has been attached.
View ArticleRe: REST Web service - Missing required key in single structure: groups
by Mohammad Gholipour. Hi alexisdid you fix reported error?I have such a problem to test create_category service.I did it at https://demo.moodle.net and it was successful, but in my site following...
View ArticleRe: error in display "mod_quiz_get_attempt_data" result
by Shamim Rezaie. The html bit that mod_quiz_get_attempt_data returns is just the bit that is for the questions of the quiz. It's not a complete html document. You need to add...
View ArticleRe: error in display "mod_quiz_get_attempt_data" result
by Masoud Vafaei. thanks for your reply. But on the normal quiz page, the generated code similar to the attachment is also generated. The main question is: how can we generate that js code and use in...
View ArticleGrade point update using core_grades_update_grades function?
by prasad pulipati. How to update the grade points of the particular student? Can any one provide the url for curl test?I tried this one...
View ArticleGrade Item creation api/webservice?
by prasad pulipati. Hi all,I want to create grade item through code is there any api or webservice i can use?Can anyone please suggest.
View ArticleWeb Services and Events 2 Integrations
by lucio beirao. Hello all, I was just searching on how to work with the Moodle Web Services API and use them together with the Events 2 API, but no much luck until now. I can, for example, create...
View ArticleMoodle version update and web services not working
by Ish Kaur. I updated the moodle version from 2.9.2 to 3.3.3. I am geeting the following error while running the web services.<?xml version="1.0" encoding="UTF-8"?>-<EXCEPTION...
View Article"Invalid Parameter Value Detected" in local_o365_update_onenoteassignment
by Berk Eren KOCA. Hi, I'm trying to delvelop a system which consumes some of the Moodle's web services. In this system there are 3 steps related with the Moodle's web service which are:-Get all the...
View ArticleCan't run REST core_course_get_courses due to memory
by Matthew Davidson. We have ~8000 mdl_course rows and when we attempt to run a REST API call for core-course_get_courses, it errors out with a 500 because it is exhausting our ram. We have tested up...
View Article