Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2363

Web API to update quiz due date and password

$
0
0
by SingChun Lee.  

Hi,

In my institution, I inherited a course that has hundreds of quizzes. Each semester, I was told to import the old course into the new course and then manually update all the due dates and passwords. It's time-consuming and counter-productive. Then, I learned the Web API. I was able to update the course setting using core_course_update_courses, but I cannot find a function that allows me to update the quizzes (or the modules). I do have all the module ids. Is that a function provided by the Web service that allows us to update the quiz setting efficiently? 

If not, I will be happy to help implement it. However, I will need someone to guide me through the development process in Moodle and help me onboard. I hope this is already been done or this is a feature that others are interested in having as well. At least, I really want it so that I do not need to update hundreds of settings every semester manually. With a properly implemented API function, we should be able to update them using a script.

I look forward to hearing any advice.

Thank you!


Viewing all articles
Browse latest Browse all 2363

Trending Articles



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