Skip to content

Add Webservices for managing status sets #841

@msd-hftm

Description

@msd-hftm

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions