Filter by timemodified value when getting Courses
by Plankton Isyum. I'm using core_course_get_courses to return a list of all courses. However, I want to filter to only get courses where the 'timemodified' value is in say the last 24 hours.I don't...
View Articlewriting a new service - Class \"external_function_parameters\" not found
by sajed zarinpour. Hi everyone.I used the exact same instructions in moodle documantaions to create a web service. Yet when I use postman to send a request to the relevant endpoint, I recieve an...
View ArticleRe: writing a new service - Class \"external_function_parameters\" not found
by sajed zarinpour. I think the docs need an update. I was able to get this right by going through the original externallib file located in "moodle/lib/external/externallib.php". One can see that the...
View ArticleRe: writing a new service - Class \"external_function_parameters\" not found
by Tim Hunt. This documentation might help undestand what is different now: https://moodledev.io/docs/4.2/devupdate#external-api (Of course, the main 'how to write a web service' documentation should...
View ArticleGet enrollment expiration date
by Giorgia Rumore Pagano. Hello everyone,I am currently working on a project where I need to retrieve the enrollment expiration date for each user in a course. To obtain this information, I'm trying...
View ArticleRe: gradereport_user_get_grade_items not returning item information
by Louisa van der Linden. The itemtype=course is the overall course grade for that user. I am also struggling to get all items returned. I have quizzes, assignments, a lesson, a H5P, a forum and one...
View ArticleExternal authentication
by Luca Mortellaro. Hi everyone,I should implement a login that by clicking on a button you are redirected to an external page containing the actual login, once you log in you will be redirected to...
View Articlestudent role cant access api web services
by 030_Ahmad Fikri Husaini. can someone help me with this problem:1. I can execute the moodle built-in web services using an admin user. but, when I try to access it with another user with a student...
View ArticleRe: Web access not working
by Ibrahim John. Hi Dark Duck,Troubleshooting suggestions:Check directory permissions and ownership.Verify Apache configuration (document root, DirectoryIndex).Ensure firewall settings allow incoming...
View ArticleRe: writing a new service - Class \"external_function_parameters\" not found
by Tim Hunt. This documentation might help undestand what is different now: https://moodledev.io/docs/4.2/devupdate#external-api (Of course, the main 'how to write a web service' documentation should...
View ArticleConnecting make.com to Moodle API
by Nils Klippstein. Hi,I followed the instructions how to add the API user with token and everything on my Moodle site.Now, I wasn't sure how to fill out the form on make.com for the module "http API...
View ArticleAdding activities to a course with web service (Re-open)
by Designer Instrucional. I wanted to post as a contribution to the topic (here), but it has already been closed.I won't post the original conversation here, but if you want to get better informed...
View ArticleGet Users Web service Moodle
by Pedro Montero Rodríguez. Hello, I'm trying to get users with this function core_user_get_usersI had the wstoken, wsfunction, moodlewsrestformat and...
View ArticleWebservice issue - help with fixing the problem please.
by Rashad Raza. Hi there, I am using Booking plugin (pro version) but I am unable to add any new instances. Everytime I want to add it shows the following error:Exception - Undefined constant...
View ArticleUmbraco LMS & Moodle - creating and enrol users with API?
by David Delcò. Hi everybody,I have a website built with Umbraco CMS. In this site are presented some e-learning and blended courses that are, however, on Moodle.Now I would like to make sure that I...
View ArticleAPI integration in Moodle 3.3 with app in PHP 8.2
by Łukasz Gierucki. Hi,After updating my application to PHP 8.2 I have problem with integration with Moodle 3.3.4+ (Build: 20180316) through webservice (token). Is it possible to maintain this version...
View ArticleDokumentation der benötigten Rechte für eine WS-Function
by Daniel Jäger. Hallo in die Runde, wo ist dokumentiert, welche Rechte ein Webservice benötigt?Speziell: Webservice "core_user_create_users"Welche Rechte muss die Rolle des Users haben, der den...
View ArticleAdding users vial REST API
by Aaron Harker. I've got an old Moodle 3.8 site we are currently in the process of building a more up to date replacement for. In the interim I'm trying to automate so of the functions for this old...
View ArticleRe: Umbraco LMS & Moodle - creating and enrol users with API?
by Aaron Harker. In theory, yes it can be done. If you take a look at your documentation in the Moodle site - site administration > server> web services > API documentation. That should give...
View ArticleRi: Re: Umbraco LMS & Moodle - creating and enrol users with API?
by David Delcò. OK, thank you Aaron, I will take a look at this documentation.
View Article