Do something when a core webservice gets called

Do something when a core webservice gets called

by Dulitha Rajapaksha -
Number of replies: 0

There is a core webservice called enrol_manual_enrol_users in moodle. I want to get the end date value from the parameters when that webserivce gets called and insert into my custom table. Is there a way to achieve that without touching the core moodle webservices. By accessing a callback or an event?

API parameters

Average of ratings: -