-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Labels
Description
Hi Dan!
Thanks for your great plugin.
It would be great to have the ability to create and configure status sets via the REST API. The current mod_attendance_add_session does not allow setting the status set.
Something like this would be helpful (service definitions):
'mod_attendance_add_session_with_statusset' => [
'classname' => 'mod_attendance_external',
'methodname' => 'add_session_with_statusset',
'classpath' => 'mod/attendance/externallib.php',
'description' => 'Add a new session with selected status set.',
'type' => 'write',
],
'mod_attendance_add_statusset' => [
'classname' => 'mod_attendance_external',
'methodname' => 'add_statusset',
'classpath' => 'mod/attendance/externallib.php',
'description' => 'Method that adds a new status set.',
'type' => 'write',
]
Best regards,
Marco