[SOLVED] Re: Events with custom eventtype automatically deleted
by Julian Field. Solved. It turned out to be an SQL error in the new "Programs" plugin. It was cleaning up *all* events every hour, instead of only cleaning up its own events. Don't even _install_...
View Articleenrol_manual_enrol_users ignores default enrolment duration
by Jim Crammond. When manual user is created from webservices, if timestart and timeend values are not provided by the caller, these are set to 0 when the enrolment record is created. The enrolperiod...
View ArticleSome help with XML-RPC call
by Michael Simpson. So without going into the full story, I'm trying to do a quick test on our moodle server using xml-rpcI've created an external service, assigned it the functions I want, and set my...
View ArticleGet the analys with php curl of feedback
by Vladut Gheorghe Popa. Why when i try to get the analysis of a feedback there show me this error?{"exception":"dml_missing_record_exception","errorcode":"invalidrecord","message":"Non \u00e8...
View ArticleRe: Some help with XML-RPC call
by Michael Simpson. Ok so the issue was I can't just send "token" in the proxy method arguments, I have to append it to the site_url string with "?wstoken=" Now to build the parameters correctly haha
View ArticleRe: Some help with XML-RPC call
by Michael Simpson. My new issue is ofc the classic - how on earth do I structure the enrol request to enrol a user?The following xml-rpc request works: user_criteria ={'key': 'username', 'value':...
View ArticleRe: Exporting Submission Data Using Webhook
by Dominique Palumbo. Hi, I hope it will help you or someone else if it's too late !// In the file db/events.php of your local plugin $observers = array( array( 'eventname' =>...
View Articlefiles size for upload profile pic via web service?
by Carly Born. We are configuring our Moodle installation to integrate with our new SIS, and using web services to create and update users. My team is reporting that they are getting an error when...
View ArticleRe: How to use moodle APIs to create quiz and questions
by Stoo Sepp. Moodle is incredibly limited in the API arena - I wanted to develop something just to update my module or 'section' names and that doesn't exist. You can't even pull student log data...
View ArticleIs there a neat way of importing the functions I need for an external service?
by Jock Coats. Obviously when we are being assiduous in our development and testing we will be using several different Moodle environments for dev, uat, and prod.Is there a nice neat way of exporting...
View ArticleGet course completions from the last x time frame
by Plankton Isyum. I'm can successfully get a specific course completion for a user+course using core_completion_get_course_completion_status.However, I want to do something more like "get all course...
View ArticleCan’t get data from course elements Feedback via Rest API
by Alex Smirnov. Hello!I tried it in Moodle 3.11 and 4.1.I am automating the filling of documents through Python by accessing the moodle via the rest api.In the moodle, students fill out a...
View ArticleRe: Get the analys with php curl of feedback
by Alex Smirnov. My code that works: curl...
View ArticleMoving a file from Draft Area to a course using REST API endpoint
by Nasim Hossain. Hi everyone I am relatively new to moodle web services. I want to upload a file under a course in moodle. My current status is : I can upload a file in draft area and move it...
View Articlehow to send params using postman
by Alberto Marin. Hi there!,I am developing a custom web service but I would like to understand what I am doing as sometimes I get lost. So, let's say I have this:public static function...
View ArticleRe: Can’t get data from course elements Feedback via Rest API
by Juan Leyva. Hi Alex, have you checked if you can see the responses in the Moodle mobile app? It uses Web Services, if it works, you can follow this guide:...
View ArticleRe: Can’t get data from course elements Feedback via Rest API
by Alex Smirnov. Hello. Thanks for the answer! I tried "hosted versions of the app"https://latest.apps.moodledemo.net/https://main.apps.moodledemo.net/ but they do not open in the browser
View ArticleRe: wheres web services api documentation???
by Rok P. /admin/webservice/documentation.php
View ArticleAPI for Non-HTML Quiz Attempt Questions
by Rok P. Hello,We're in the process of developing an integration with Moodle to extract Quiz attempt details. Our goal is to leverage this data further, such as creating PDFs containing attempt data...
View ArticleIntegrating SCORM in External Website
by Johnathan Stowers. I am a developer who is currently developing a LMS for my workplace. I have been successfully making my way through making the website, but I've hit a wall with displaying the...
View Article