Moodle API - accepted input format
by Maxime Paintendre. Hi all,I am currently working on the implementation of the Moodle API. For testing purposes and for further development, I would like to know what formats are supported by the...
View ArticleMoodle enrol_manual_enrol_users api error
by Babin Martin. Can you please help to solve the below errorRequest: Array ( [users] => Array ( [0] => Array ( [username] => XXXXXX@gmail.com [password] => YYYYYYYYY [firstname] => Xiz...
View ArticleCalling Core_User APIs using Python
by Jeffrey Bannister. Hi All,I'm having issues with using Python to access my Web Services API - here's my code: import requests,json token = 'mytoken' domainname = 'http://mymoodleserver'...
View ArticleCreate Data-Request by using Webservice
by Moritz Grey. Hey Community, i want to create a data-request in moodle for the user with the id 100. How can i do this by using a web-service? ThxMGR
View ArticleData-Request by using webservice
by Moritz Grey. Hey Community, i want to create a data-request in moodle for the user with the id 100. How can i do this by using a web-service? ThxMGR
View ArticleRe: Data-Request by using webservice
by Dominique Palumbo. Hi, Is this something like that you want to do...
View ArticleRe: Data-Request by using webservice
by Moritz Grey. Hey Dominique,No leader not. I want to create a automatic process, which answer a data request from a user. Data request means 1. User clicked on his Profile. 2. User clicked in the...
View ArticleDate field is not updated with mod_data_update_entry
by Tomeu Rosselló. Hi everyone! I'm having some issues with a database activity when updating a record with the mod_data_update_entry web service. It works fine with all the field types except the...
View Articlecore_completion_get_course_completion_status is not completed. Why?
by Oliver Kaiser. I need a Web Service to see if a participant has fully completed the course.For this I use the Web Service core_completion_get_course_completion_status.I have a course that can be...
View ArticleExists any exmple of using Web Services?
by Steve Code Brain. Hi! Im looking for any exmple of using web services. Im trying to do a plugin to get files uploads to a course.Thanks!!!
View ArticleFinding nested sections with webservice api
by Jacob Peters. Hi everyone,I'm using core_course_get_contents to get the course sections and modules but realized, that nested sections are not recognizable in the return. Instead the parent...
View ArticleRe: Exists any exmple of using Web Services?
by Brian Merritt. If you have a live Moodle site, go to https://yourwebsite.address/admin/webservice/documentation.php You need to enable web services and turn on the documenation There is also a...
View ArticleNew API functions
by Maxime Paintendre. Hello to all,is there any, more or less, official documentation on how to create new functions to be consumed by API.more precisely, use the API to manage my user, my...
View ArticleMOODLE API - Get optionnel fields
by Maxime Paintendre. hi,here i go again....i m using api in moodle to get user, enrol them....i see in the documentation some optoinnel fields i need in the response.example in...
View ArticleRe: Can't see Web Services Plugin in Moodle 3.11
by cooper juarez. I have some problems and I haven't figured out how to fix it yet. Luckily to read this articleSuper Mario Bros
View Articleunexpected non-whitespace character after JSON data
by Sunandar Prawira. Hi Everyone,I have issue when I generate token in a browser (replacing SITEURL, USERNAME and...
View ArticleRe: unexpected non-whitespace character after JSON data
by Juan Leyva. Hello, have you done recent development on your site? or installed a plugin? That 1 is probably coming from changes done in a PHP script (config.php or lib/setup* or webservice/*.php)...
View ArticleRe: unexpected non-whitespace character after JSON data
by Sunandar Prawira. Hi Juan, thank for your reply. I found some debugging errors in a website/service.php. Invalid get_string() identifier: 'antihammer:notifyblocking' or component 'auth_antihammer'....
View ArticleRe: unexpected non-whitespace character after JSON data
by Sunandar Prawira. Hi Juan, can you Help me please?
View ArticleRe: unexpected non-whitespace character after JSON data
by Howard Miller. I explained the reason for this in that thread.
View Article