Quantcast
Channel: Web services
Browsing all 2361 articles
Browse latest View live

Can we use existing function of quiz web service in my custom web service for...

by Preethi Nadar.  Hi,Can anyone help me?Is there any way to use inbuilt Quiz web service function in my custom web service for quiz.

View Article


Re: Quiz: review attempts

by Preethi Nadar.  Hi, Ricardo,Did you find any solution to your problem?If yes please share I would like to know as I am also facing the similar issue.

View Article


Cross-domain request to access WS in javascript

by Michel DENIS.  Hi,Please could you tell me whether, and how, do Moodle's Web Services deal with javascript requests from a cross-domain perspective (CORS or other way) ? :- anything special to enter...

View Article

core_course_get_categories query returns records 'like' parameter

by Robert Duncan.  Hi, I am using the Web service API to create courses and categories - I first need to create the 'categories' and then I need to query Moodle to find out what the auto_increment 'id'...

View Article

Using OAuth2 to connect to Web Services

by Ryan Carpenter.  I'm trying to connect my Moodle plugin to a web service that uses OAuth2 for user/client authentication.  The idea is for a Moodle administrator to be given a client ID and client...

View Article


core_user_get_users not returning users created with core_user_create_users

by alejandro alves.  If I try to search for a user I just created with a WS it does not return it. Also I noticed that if I search by unexisting fields, for example, asdasdad, it returns the user...

View Article

Re: core_user_get_users not returning users created with core_user_create_users

by alejandro alves.  sorry just noticed the format problemIf I try to search for a user I just created with a WS it does not return it. Also I noticed that if I search by unexisting fields, for...

View Article

core_files_upload - nofile - 3.2.2

by Alvaro Devotto.  Hi, i try upload a file into a course, but don't work. The web service requires that the parameter "component" is equal to "user" and that "filearea" is equal to "draft". Assign...

View Article


Re: Cross-domain request to access WS in javascript

by Juan Leyva.  Hi,CORS is supported only by the REST simple server (REST protocol using tokens for authentication). I think it is supported since Moodle 3.1.You don't have to do anything special.You...

View Article


Web Service User Cannot Change Another User's Preferences

by Jesse Kuschel.  Hello - I'm encountering an error regarding web services and I'm not sure if I'm missing something or if what I want to do is not allowed.  I have created a new web service with a...

View Article

Re: Using OAuth2 to connect to Web Services

by Damyon Wiese.  What is are describing sounds similar to the repository code for 3.3. Look at repository/googledocs as an example. There are 2 cases with when accessing a service with OAuth:1. You...

View Article

Re: Using OAuth2 to connect to Web Services

by Ryan Carpenter.  That sounds helpful; I'll check it out.  The system account sounds like the right way to go.Thanks!

View Article

Using core_user_create_users In Python Script

by Sofiane beni.  Hi,I'm using Moodle 3.3.1 and in try to create an User withPython Script.My Moodle web services configuration is good (i think). But the user is not created, i have no error, nothing,...

View Article


Example of web services token from external application

by sai prasad.  I'm trying to find an example for webservices token based call from external application, could anyone give me an example of that, my external application is in asp.net, I'm not...

View Article

Re: Dynamic Tokens for API

by sai prasad.  hey  I tried to call the  below link on my external application to generate tohen but says invalid token, any...

View Article


Re: Ats: Re: Login webservice

by sai prasad.  hey hi, were you able to succeed with your asp.net integration with moodle?i mean kind of singlesignon??? let me know plz

View Article

Login/token.php error

by Aniket Sankpal.  I am trying to generate token for Moodle mobile service but getting an error:{"error":"Invalid login, please try again","errorcode":"invalidlogin","stacktrace":"* line 104 of...

View Article


Blob is not saving in DB with Java web service in Win 10 (office 2016) with...

by Abhijeet Choudhary.  Blob is not saving in DB with Java web service in Win 10 with Chinese Language.our Application support only IE-11 and Office 32 bit.our Application is working on IE-11 with MS...

View Article

Re: Cross-domain request to access WS in javascript

by Michel DENIS.  Thank you Juan, that's good news for me. I will also check the code.Have a nice day,-michel

View Article

Web services enrolment - changing enrolment description

by samuel h.  I want to enrol students using the web services function enrol_manual_enrol_users. I can do this successfully but the comment next to a student says"Manual enrolments enrolled Sat 26...

View Article
Browsing all 2361 articles
Browse latest View live


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