Quantcast
Browsing all 2364 articles
Browse latest View live

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 Article


Moodle 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 Article


Calling 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 Article

Create 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 Article

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 Article


Re: Data-Request by using webservice

by Dominique Palumbo.  Hi, Is this something like that you want to do...

View Article

Re: 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 Article

Image may be NSFW.
Clik here to view.

Date 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 Article


core_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 Article


Exists 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 Article

Image may be NSFW.
Clik here to view.

Finding 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 Article

Re: 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 Article

New 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 Article


MOODLE 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 Article

Re: 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 Article


Image may be NSFW.
Clik here to view.

unexpected 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 Article

Re: 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 Article


Re: 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 Article

Re: unexpected non-whitespace character after JSON data

by Sunandar Prawira.  Hi Juan, can you Help me please?

View Article

Re: unexpected non-whitespace character after JSON data

by Howard Miller.  I explained the reason for this in that thread.

View Article
Browsing all 2364 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>