How are you all?
I need some help.
I have moodle installed on my server and I want to create some automation and integration by connecting to it via integromat.
Since there is no premade moodle app for integromat - I need to use the http request app to create the connection.
I did the same for other application without a problem - but I find moodle API documentation to be confusing.
After some intensive search I realized that I should use the moodle Web services in order to do an HTTP request to my moodle - but this is half a guess.
Now my goal in to be able to create a new user for students and to be able to add this new user to a cohort and also to remove a user from the and to be able to delete it completely.
I guess that creating a user is dove with the core_user_create_users command and the deleting of users is done with the core_user_delete_users command. and adding a user to a is done with core_cohort_add_cohort_members and deleting him from the cohort is done with core_cohort_delete_cohort_members - right?
Also If I got it right - the first step to use Web services is to create and enable a web service - right?
What is the URL I should send my HTTP request to?
How to I authenticate the connection?
What is the HTTP request structure I should use?
Where can I find CURL command examples I can learn from?
As you can see I'm a bit lost.
Any help will be greatly appreciated.