mod_quiz_get_quizzes_by_courses is not returning required data

mod_quiz_get_quizzes_by_courses is not returning required data

av Sukhmeet S -
Antall svar: 1

Hi,
We are using 'mod_quiz_get_quizzes_by_courses' service to get all the Moodle quiz (version 3.9) related data required to integrate with our application.

This service does not return all the field if the 'Open the quiz' time is some future date and the quiz has not yet started. Below are some of the fields which are missing if we call the above mentioned service before quiz open time.

  • overduehandling
  • graceperiod
  • questionsperpage

Is there any way in which we can get above field data for a quiz which is scheduled to start at future date?


Gjennomsnittlig vurdering: -
Som svar til Sukhmeet S

Re: mod_quiz_get_quizzes_by_courses is not returning required data

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers
I don't know why the service leaves out overduehandling and graceperiod in this case. (Feel free to open a bug in the tracker.

questionsperpage is not really a relevant setting, so it does not matter. (It is only used when building quizzes.)