{
"user_id": 3,
"course_id": 4,
"role_id": 5
}curl --location --globoff 'http://localhost:3000/api/v1/webservice/rest/server.php?wstoken=fd304e291a40d902b7c372b51f2f3a4e&wsfunction=enrol_manual_enrol_users&moodlewsrestformat=json&enrolments[0][userid]=3&enrolments[0][courseid]=4&enrolments[0][roleid]=5&enrolments[0][timestart]=1720595000&enrolments[0][timeend]=0&enrolments[0][suspend]=0' \
--header 'Content-Type: application/json' \
--data '{
"user_id": 3,
"course_id": 4,
"role_id": 5
}'{}