How to use login-required web service functions
by Rixan Randria. Hello.I develop an external app accessing Moodle webservices based on this documentation : https://docs.moodle.org/dev/Web_service_API_functionsThis page shows that some of functions...
View ArticleRe: How do I set up the Moodle API in laravel?
by Rixan Randria. Have you found your solution ? Are you talking about to access Moodle webservices in an external app Laravel-base ? What I use is https://github.com/zhiru/laravel-moodle
View ArticleRe: How to use login-required web service functions
by Rixan Randria. I answer to myself that running a token-based request is sufficient !? I asked this forum because I always get a return = "Access control exception" I just find the solution that 1-...
View ArticleRe: Where is Moodle Webservice API Methods Specification?
by Rixan Randria. The best Moodle API documentation is inside your installed application.So in the menu Site administration > Plugins > API Documentation > Search for core_course_create_courses
View ArticleRe: Remove web service functions
by Rixan Randria. Have you found out your solution? You really want to delete not just to block access !? By curiosity, i'm interested in how you manage quizzes if you delete all functions about it.
View ArticleAPI response cache
by chaitanya varanasi. Is there any caching to Moodle API responses?We created a new user profile field and set it to mandatory. When any existing user (who already has an account) logs in to Moodle,...
View ArticleHow do I use the API to extract Rubric element scores (not total score)
by David Onder. We have a rubric being used in 2 courses ACA-115 and ACA-121 that we want to extract the component element scores for further analysis. Does anyone know how to do this? I would think...
View ArticleRe: How to retrieve the User Enrolment ID
by Engr. Nayab Bukhari, Syed. https://tracker.moodle.org/browse/MDL-70582 tracker updated with a code. Can you please have a look.
View ArticleException - Class not found error while trying to add a function to external...
by Ralfs Firsts. Hi,I have added Custom service to my moodle but when i click on Add function to this service it gives me an error:Exception - Class...
View Articlemod_quiz_start_attempt gives notyourattempt error code for student
by Arvind Thasal. I have created external web service in moodle 3.6.1 and added one function mod_quiz_start_attempt in external service.But this service access by only admin when any other user try to...
View ArticleCan't see Web Services Plugin in Moodle 3.11
by FORMATEUR SAYI CENTER. I i wan't see Web Services Plugin in Moodle 3.11The Service is enabled in the AdvancedSee screen capturesHow can i make it shows?
View ArticleRe: How to Create and Edit a Module through a Webservice
by Anastasia Leyva. Hi Martin, Did you find the solution to this? Thank you, Anastasia
View ArticleRe: How to Create and Edit a Module through a Webservice
by Martin Breuss. Sorry, I didn't manage to find anything useful. There are two alternatives, both not great IMO:Understand the Database structure and directly insert your content into the...
View Articleenrol_manual_enrol_users always returns Null
by Rixan Randria. Hello.I definitely have the same problem as this old discussion with no answers : https://moodle.org/mod/forum/discuss.php?d=350722the difference is they use Soap, I use RestThe...
View ArticleGet all Users are enroled in a moodle course
by Moritz Grey. Hey Everyone, with which API can i get all enrolled users from a moodle-course.Is there an Example for the Rest Protocol? Thanks for Help MGR
View ArticleCatch API error message
by Moritz Grey. Hi @ all, i want to check with php when a CURL do not works and the Response is the Classical Error-Message: <EXCEPTION...
View ArticleImproved Deprecated core_course_get_activities_overview for Moodle 3.7
by Engr. Nayab Bukhari, Syed. Hi Everyone,I noticed, that core_course_get_activities_overview is deprecated since Moodle v3.2 and I did found any reason why Moodle team deprecated this web services.I...
View ArticleRe: Token Generation for custom Web Service access
by Astor Bizard. Hello,I am currently investigating what is available in that regard.I found a useful method "external_generate_token" under "/lib/externallib.php". This might somehow fit your...
View ArticleActivate Webservices via PHP-Skript
by Moritz Grey. Hey Everyone, if a institution works with more than a hundred moodles, It's hard to activate and configure the web service manual. It is possible to create the web service under using...
View ArticleGet all Users of the Moodle-Database with API
by Moritz Grey. Hey everyone, how can i get the Information off all Users which are in the moodle-database. Which Webservice i should use?Thanks for help. MoGr
View Article