Re: Using core_user_create_users In Python Script
by Dmitry Sher. Server always returns code 200 (no error for HTTP), but see error description in the response messageresponse = requests.post(url,data=users) print(response.json())No privileges is...
View Articlecore_course_create_courses does not accept French accents characters
by Ahmed El Sheshtawy. I am calling the core_course_create_courses web service from oracle PL/SQL procedure. The web service creates the courses successfully for the courses that have English names...
View ArticleRe: Create a token for Administrator
by Jesus Marquez. Hi Juan,I set username when save the changes a message show this:User have not privilegies!This user I cant found in the list users authorized.
View ArticleRe: i can't create user via webservice.
by Hooman Kiani. HiYou can use this function: user_create_user() that is in user/lib.php. This function get user object and create that object. This function return the id of user that created.Also...
View ArticleShould I use Core webservice API in a custom webservice API?
by Nguyen Nam. Dear all,I am writing a custom web service (for using in the external app), with a list of steps, such as:- Step 1; Create a new user (if does not exist)- Step 2: Create a new course-...
View ArticleInvalid response value detected - core_webservice_get_site_info
by Darley Stephen. WS funciton - core_webservice_get_site_info- I'm getting Invalid response value detected --- DEBUG valueuserpictureurl => Invalid response value detected: Invalid external api...
View ArticleRe: Invalid response value detected - core_webservice_get_site_info
by Juan Leyva. Hi,This seems to be a bug in Moodle URL validator (/lib/validateurlsyntax.php), for some reason it believes that the URL is not valid.I'll investigate further an open an issue
View ArticleRe: Invalid response value detected - core_webservice_get_site_info
by Juan Leyva. Hi,it wasn't a bug, thanks to Sam Marshall for the tip:See https://en.wikipedia.org/wiki/Hostname, subdomain names can't contain the "_" character, so your subdomain name should be...
View ArticleRe: Invalid response value detected - core_webservice_get_site_info
by Darley Stephen. Thank you so much, Juan.
View ArticleCreating a webservice to allow access to remote site
by Paul P.. I would like to know how to configure the webservice plugin in moodle to allow a user who is logged into moodle to access content in a remote site without having to log into the remote...
View ArticleRe: Create a token for Administrator
by Jesus Marquez. Ready!this post is very useful and clear!https://moodle.org/mod/forum/discuss.php?d=319039
View ArticleIs Web service function available for updating activity completion
by deva m. Hi,web service function for updating completion to each activity is available or not....Or else is there any generic web service function for performing activity completion
View ArticleNo setup information was found for
by Zoran Jeremic. Hi,I'm trying to connect custom web java application with custom made local plugin in the Moodle through the use of Rest web service. However, as a response from Moodle I'm getting...
View ArticleHow to check username policy before calling core_users_create_user
by Jeff Shrek. When creating a new user with core_users_create_user, how do I check the username policy that is defined in Moodle security config to make sure the username will comply?Thanks
View Articlecore_webservice_get_site_info return only specified fields?
by Jeff Shrek. Has there ever been any discussion on modifying core_webservice_get_site_info so that you could specify an argument and limit the fields that are returned?For example if I only want...
View ArticleRe: How to check username policy before calling core_users_create_user
by Jeff Shrek. To answer my own question, I figured out that there is no username policy specified in config (only password policy).The default behavior for Moodle username is: Moodle username policy...
View ArticleCheck if password policy enabled, and what it is?
by Jeff Shrek. Is there a webservice call that can see if password policy is enabled and a call to see what the policy is set to?
View Articlecore_course_create_section
by Álef Henrique. Hello friends!We are helping TOTVS Management Software staff integrate Moodle with their system. However they need to find the method of creating the topics because we use the topic...
View ArticleException Missing required key in single structure: users
by Jesus Marquez. I require to consume function core_user_create_users with next code:$serverurl = $domain . '/webservice/rest/server.php'. '?wstoken=' . $token ....
View ArticleWeb Service with ASP.Net
by Ahmed Ragae. I can use core_course_get_courses with Token and moodlewsrestformat=jsonand It works good and get list of courses.But when I use core_user_get_users_by_field I get nothing....
View Article