Mark course as complete API

Mark course as complete API

by Ashef Shahrior -
Number of replies: 1

Is there any web-service API capable of achieving the following task-

An admin/authorized personnel should be capable of marking a course as COMPLETE for all of its users regardless of the passing or failing of its participants

Average of ratings: -
In reply to Ashef Shahrior

Re: Mark course as complete API

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The list of course web service API functions can be found here: https://docs.moodle.org/dev/Web_service_API_functions

There doesn't appear to be anything matching what you describe, the closest is core_completion_mark_course_self_completed, but that only works for the current user. It may be a useful place to start if you want to implement your own function for this.

Average of ratings: Useful (1)