I have Moodle 3.6 and I have a User Interface which uses API to call functions in Moodle. I used the functions to let the user on the User Interface to create a new course a