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

mod_attendance_add_session include QR Code

$
0
0
by Feu Noct.  

Hello,

I'm developping a script where I gather the required information from our private database for creating a session for an attendance instance on Moodle. The script will run automatically so that our colleagues won't have to create sessions manually anymore, hopefully.

So far, I managed to create sessions through the API function mod_attendance_add_session, however the created sessions don't have the QR code feature although the necessary settings are checked by default in our Moodle environment.

I hoped it'd work to add "includeqrcode = 1" and other necessary keywords as parameters although it wasn't mentioned in the API documentation, but unfortunately it didn't work.

Is there any way to create a session through an API call, which has the QR code activated?

Thank you in advance for any help you can provide!


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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