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!