by SingChun Lee.
Thanks for the reply! But I don't find the update_moduleinfo in the web API. Any equivalent function in the web API can do that? Maybe core_course_edit_module can do this?
Anyhow, supported by our IT department, I wrote a plugin for this and currently still testing and debugging.