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

Web Service

$
0
0
by Nirav Vaghasia.  

I have created external web service in moodle 3.6.1 and added one function mod_quiz_start_attempt in external service.

But this service access by only admin when any other user try to access this service they got following error.

{

    "exception": "moodle_quiz_exception",

    "errorcode": "notyourattempt",

    "message": "This is not your attempt!"

}

As a admin if I want to allow other users to attempt the quiz using web service API then is there any possible ways to do this? 


Viewing all articles
Browse latest Browse all 2363

Trending Articles