Web service call to start/end a quiz for another user

Web service call to start/end a quiz for another user

by Alexandru Cojocaru -
အကြောင်းပြန်မှု အရေအတွက်: 1

Is it possible to start or end a quiz for another user using web service calls?

I know about the mod_quiz_start_attempt and mod_quiz_process_attempt calls, but they are using the currently logged in user. Is there a way to specify for which user we would want to start or end the attempt?

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Alexandru Cojocaru ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Web service call to start/end a quiz for another user

by Tim Hunt -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ

Those web services were created for the Moodle Mobile app, which only needed them to work for the current user.

There is currently not a web service to create attempts for a different user, but it probably would not be hard to create one, based on the code in the existing services.