Skip to main content

All Questions

Tagged with
0 votes
1 answer
278 views

Duplicating courses in Moodle by using REST webservice with Python

I'm really struggling to get my code for duplicating moodle courses via REST to work, just couldn't figure out the reason: import requests import json token = 'mytoken123' domainname = 'https://...
Madamadam's user avatar
  • 918
-3 votes
1 answer
519 views

I'm tiring to create a new user in Moodle using auth_email_signup_user but I'm not sure how to format the request [closed]

I have a few required custom profile fields that are date pickers and checkboxes. and I'm not sure what type to put them as in the request the only example the documentation has is one with type ...
Marc Hypolite's user avatar
1 vote
0 answers
342 views

convert CURL request into VBA xml Object in MS-Access

I am trying to handle moodle data from our schools MS-Access database using VBA-code to post xml.objects. I implemented the following code from an example for using the RESTful-API into my VBA-code (...
arndt Dgrau's user avatar
0 votes
1 answer
350 views

How to implement in VBA a REST(ful) API for a moodle Database?

I am trying to handle moodle data from our schools MS-Access database using VBA-code to post xml.objects that I also successfully used for an API communicating with Telegram (the messenger service). I ...
arndt Dgrau's user avatar
-1 votes
1 answer
427 views

Is the sending of data to moodle REST API limited?

I'm using moodle 3.5, I'm trying to send an array of 2308 (user/corresponding cohort) to the external function 'core_cohort_add_cohort_members' by POST, the answer of the API is : array(3) { ["...
Theopep's user avatar
  • 11
5 votes
3 answers
7k views

Accessing a Moodle server's API via Python's request library

I'm trying to access the web services of a Moodle installation I have using Python's requests library. I have the API's documentation and an example project written in php (I haven't looked at php ...
grhmstl's user avatar
  • 51
2 votes
1 answer
1k views

RESTful webservice Moodle plugin Authentication fails

I am using moodle rest plugins for mobile web-services and from this tutorial I have enabled rest API and other related services as per the documentation when I try to test the web service then I got ...
user3031108's user avatar
0 votes
1 answer
3k views

To generate Moodle Web Service Token with required capabilities Dynamically from Non-Moodle Application

Is there a way present to generate Moodle Web Service Token with required capabilities Dynamically from Non-Moodle Application ?
SHOHIL SETHIA's user avatar
2 votes
1 answer
2k views

How to change user image in moodle with REST api

I am using Moodle 2.7.4. I am writing a web application that uses moodle REST APIs. But I couldn't find an API to change User profile picture. Can anybody tell me what the API is and its docs. PS: ...
Harikrishnan's user avatar
  • 3,744
0 votes
1 answer
832 views

Moodle Error - Web Services Client - No access rights in module context

I have got the following setup in Moodle: I have enabled Web Services I have enabled the REST protocol I have added a service called grades and enabled it I have added the function ...
Usaamah Patel's user avatar
0 votes
1 answer
248 views

Using mod_scorm_insert_scorm_tracks

I'm interfacing my App with Moodle and I'm successfully calling mod_scorm_get_scorm_sco_tracks and mod_scorm_get_scorm_attempt_count via Ajax (XMLHttpRequest) for a given user (userid). Now I want my ...
lviggiani's user avatar
  • 5,964
0 votes
1 answer
1k views

Function mod_scorm_insert_scorm_tracks "Invalid parameter"

I have problem with a WebService function for moodle callen "mod_scorm_insert_scorm_tracks" This function is used for inserting track information (i.e. star time) of a user in his SCORM progress. ...
rfcabal's user avatar
  • 119
1 vote
2 answers
2k views

Moodle: web service call to get assignments under course

I have an application where I need to fetch records from Moodle using the core Web Service API. I am receiving courses and categories with the following API calls: core_course_get_courses ...
TechNo's user avatar
  • 645