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

Re: Use a user token to launch a course

by Ron Meske.  For anyone looking to do something similar, I ended up creating a plugin that exposed a few functions as part of the Moodle API that provided the functionality I needed.

View Article


Update Quizgrades with API core_grade_update_grades function

by Lenard Hopper.  Hello, i need to write a Script that update quiz grades using the core_grade_update_grades function. (for example a users grade updated from 10 to zero points)When attempting this...

View Article


Image may be NSFW.
Clik here to view.

Function core_course_duplicate_course

by María UP Navarra.  Good morning.First of all, sorry for my bad english.I am trying to use the "core_course_duplicate_course" function to duplicate a course in moodle.I have enabled all necessary...

View Article

Image may be NSFW.
Clik here to view.

Re: Function core_course_duplicate_course

by María UP Navarra.  Hello again! I have found the solution :D The request must be sent with this format (attached photo):They needed to add these capacity...

View Article

Including role enrolments in core_course_duplicate_course

by Alexander Lebeth.  I'm trying to duplicate courses via webservice core_course_duplicate_course. The script below shows an example of how course duplicates can be created with and without user data....

View Article


Upcoming Quiz and Courses API

by Sunny Adhatrao.  Hi,Is there an API available for upcoming quiz and courses in core Moodle or custom Moodle? 

View Article

Facing a problem on a website

by Henry Bill.  Hi, I'm lil confused about to resolve this problem that to reduce unused java files.will it be a good decision to delete all these files or are there any consequences related to this...

View Article

Re: Rest API Authentication Error

by Jonathan Baird.  Hi,I am encountering the same error you did and I do think I have created all of the pieces...I created a role that has been given the necessary 'capabilities' (including "Use REST...

View Article


Re: Rest API Authentication Error

by Nathan Loudon.  It was some time ago sorry, I'd suggest going through this page step by step, guaranteeing you haven't missed anything:https://docs.moodle.org/402/en/Using_web_services

View Article


Moodle (acts as a Publisher) & Salesforce (acts as a Subscriber) Integration

by Omkar Darekar.  Greetings Everyone!Any idea how do we send events/data from Moodle to Salesforce?Basically, we have a use case in which whenever a students enrolls a particular Course in Moodle that...

View Article

Re: Rest API Authentication Error

by Brian Merritt.  Is it possible to share the connection or error messages? You can blur any sensitive material. Are you using Postman or some other method?

View Article

Re: Rest API Authentication Error

by Jonathan Baird.  It just says "Authentication Error".Connecting to the REST API via ColdFusion.  I've done this with earlier versions of Moodle.

View Article

Re: Rest API Authentication Error

by Jonathan Baird.  Yeah, already went through all of that. Thanks.

View Article


Re: Rest API Authentication Error

by Nathan Loudon.  If you go to: https://www.example.com/admin/roles/manage.php and click on your web access role, you should see the functions that you've added to that role? Note mine includes the...

View Article

Re: Rest API Authentication Error

by Brian Merritt.  Is this for an admin user? Or have you created a user with appropriate permissions. Do you have database access? Can you see the webservice token for the appropriate user? What does...

View Article


Re: Rest API Authentication Error

by Brian Merritt.  I just did a test by the way of an API request not in the permissions list and get a very different error {'exception': 'webservice_access_exception', 'errorcode': 'accessexception',...

View Article

Image may be NSFW.
Clik here to view.

Re: Rest API Authentication Error

by Jonathan Baird.  I have created a user with permissions that is also an admin I have made a token that connects the user with the service.Yes, attempting to connect with a full url and...

View Article


Re: Rest API Authentication Error

by Jonathan Baird.  Yup, I have those set. Thanks

View Article

Re: Rest API Authentication Error

by Nathan Loudon.  Are you missing the: moodlewsrestformat=jsonFrom the query string perhaps?Also I'm not sure if you're including the single quotes around the token, but maybe try without those?

View Article

Re: Function core_course_duplicate_course

by Sean Norrey.  Hi Maria, I have never been able to get core_course_duplicate_course to work. Are you able to share your code so I can see where I might be making a mistake?

View Article
Browsing all 2362 articles
Browse latest View live


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