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

Re: Mobile web service quiz documentation

$
0
0

by Jan Philipp Weber.  

Hi Danielsmile,

I thought to myself that it is work with mod_quiz_get_user_attempts, but in my cases, it doesn't work because the attempt which is in progress is not listed. mixed


mod_quiz_get_attempt_access_information:
object(stdClass)#21 (5) { ["endtime"]=> int(0)["isfinished"]=> bool(false) ["ispreflightcheckrequired"]=> bool(false) ["preventnewattemptreasons"]=> array(0) { } ["warnings"]=> array(0) { }}
mod_quiz_get_user_attempts:
 object(stdClass)#22 (2) { ["attempts"]=> array(0) { } ["warnings"]=> array(0) { }}
mod_quiz_start_attempt:
 object(stdClass)#23 (3) { ["exception"]=> string(21) "moodle_quiz_exception" ["errorcode"]=> string(22) "attemptstillinprogress" ["message"]=> string(22) "Versuch dauert noch an"}
Best regards,
Jan Philipp


Viewing all articles
Browse latest Browse all 2362

Trending Articles



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