core_course_get_courses_by_field / core_course_get_courses - paging options?
by Sachin Dravid. Hello All,I am trying to use web service functions to get courses details. There are long list of courses and I am looking for pagination option to retrive all courses details.Can...
View ArticleSave attempt using ws mod_quiz_save_attempt
by Prima Yanuaristya. Hi, i can't save attempt for moodle v4.3, but it work on Moodle v3.url ws...
View ArticleNeed help in pagination options for web service REST API
by Sachin Dravid. Hello,I am using RESTFul API to get course information. I couldn't find pagination/cursor information in response nor in documentation.Can someone please help?Thanks,--Sachin
View ArticleRe: core_course_get_courses_by_field / core_course_get_courses - paging options?
by Sachin Dravid. Can someone please help here?
View ArticleRe: Save attempt using ws mod_quiz_save_attempt
by Tim Hunt. I don't think this was changed. I think you will need to do some debugging to work out why it is not working.
View ArticleRe: Save attempt using ws mod_quiz_save_attempt
by Prima Yanuaristya. Solve i'm sory, typo from q29:9_:answer, correct is q29:9_answer mod_quiz_save_attempt Moodle v3 and v4 is same
View ArticleRe: Get All Calendar Events by a User ID
by Arnaud H. Hi, I have the same need as you, I want to get all the events in the user's calendar like what they see on Moodle. Using core_calendar_get_calendar_events, I cannot do this because I only...
View ArticleCreate courses using API
by daniel parejo. Hello, how are you?I'm using the Moodle API to create courses in this way. To do this, I created an external service with the core_course_create_courses function enabled, and I...
View ArticleRe: Create courses using API
by Rémi Chaussenot. Hello Daniel, I don't see anything wrong in what you say. I do not use Postman, but instead a small php interface using curl (on moodle 3.11). Is it possible to provide (in PM) a...
View ArticleRe: Create courses using API
by daniel parejo. Hi Remy, Thanks for your answer. Sadly i am not able to provide any url since its a project restricted by ip... However thank you so much for answering.
View ArticleRe: Create courses using API
by Rémi Chaussenot. Too bad! The answer you get looks really like the main log of moodle. Which is obviously, not the type of response we usually get from API. Sorry i can't help more, R.
View ArticleCreating users via API
by Cypher Cypher. I am attempting to create users via the Moodle REST API, however, regardless of following the documentation and a ton of research, every time I send the request off in say Postman or...
View ArticleRe: Custom function not visible
by Petr Kalis. Problem was, as expected, in some stupid syntax error in one of the files (so problem between chair and keyboard). The printout in my first screenshot points to that, unfortunately it...
View ArticleRe: Create courses using API
by daniel parejo. Hi everyone, As i keep trying to solve this, i look at the server logs where i have this moodle and saw this error: Got error 'PHP message: Potential coding error - active database...
View ArticleHow to create moodle api with the file structure
by MSHP MATHURA. How to create How to create the API in the moodle with the file structure from scratch. the API in the moodle with the file structure from scratch.
View ArticleReturn an image from a custom webservice
by Michael Troy. Hi all,I have images saved in the moodledata folder that I'd like to return via a webservice. Most of it is already working, I can access the image as intended but I can't return it...
View ArticleAccess via localhost and public domain both
by 冠曄 林. Is there possible that I visit my moodle both via localhost and public domain?Since if I set `wwwroot = 'https://mydomain.com'` then I won't be able to access it via 127.0.0.1 ever.However,...
View ArticleAuthentication to web service using oauth2 token
by seva seva. Hello,is it possible to call moodle web services using the JWT token obtained from keycloak?I already configured moodle to use Keycloak as IDP and users succesfully logging in, but I...
View Articleexternal function problem
by Roniel Navarro. I am having a problem with an external function that I defined for a web service, when I check the functions of the service in which I made it available it does not show the...
View Article