How can I interact with Moodle Api clients to get to quizzes by course id. The documentation says the mod_quiz_get_quizzes_by_courses requires a courseids array, but I don't know how to pass the array to the to Get request.
Asked
Active
Viewed 167 times
2
-
You at least could learn from their code on how to call API endpoints right? – zerkms Mar 23 '23 at 21:40
-
Thanks, @zerkms, for the message. I can use most of the Moodle API client, but I am having difficulty doing the same for the mod_quiz_get_quizzes_by_courses function call. – mev Mar 24 '23 at 01:12
-
Then you probably should ask about it explicitly and in details? – zerkms Mar 24 '23 at 03:16
-
From the documentation on Moodle, if you don't pass an array, then all quizzes that you have access to will be returned https://docs.moodle.org/dev/Web_service_API_functions#:~:text=mod_quiz_get_quizzes_by_courses – Russell England Mar 25 '23 at 03:30