WebApi 'enrol_self_get_instance_info' password always 'Enrolment key'
by Samuel Schmidt. Hello,how can I query the self-enrolment password from a course with the WebApi?I tried the function "enrol_self_get_instance_info".I only get "Enrollment key" as an answer.I never...
View ArticleRe: PowerShell Module
by Pieterjan Heyse. Hi Matt, I'm a total novice with regards to Powershell and am currently fighting with powershell and the Moodle API to automatically provision a part of our Moodle installation. I...
View ArticleRe: PowerShell Module
by Matt Hamilton. Happy to help! What part of the API that you use is missing from the PowerShell module? Maybe I can build something out. Feel free to log it as an "issue" on GitHub too!
View ArticleRe: PowerShell Module
by Pieterjan Heyse. These are the calls I currently need and hacked some code together for: core_course_create_categories core_course_create_courses core_group_create_groups core_cohort_search_cohorts...
View ArticleRe: PowerShell Module
by Matt Hamilton. Yep you're correct - I haven't covered groups at all, and I've only got courses covered in terms of searching rather than creating. Good excuse to build it out a bit! The local_ws...
View ArticleRe: PowerShell Module
by Matt Hamilton. Ok this morning I've added a bunch of new functions for you. Get-MoodleGroup Get-MoodleGroupMember New-MoodleGroup Set-MoodleGroup Remove-MoodleGroup New-MoodleCourseCategory...
View ArticleRe: PowerShell Module
by Pieterjan Heyse. I'm afraid not. In the UI you can add a cohort to a course and at that time ask Moodle to create a group in that course with the same name. The API does not provide this...
View ArticleRe: Error: Scalar type expected, array or object received using...
by Ben Kahn. As an update, I STILL haven't got this figured out. On my dev site, I had about 6 or 7 courses using the Kickstart format. I deleted the courses and the errors using the web services went...
View ArticleUsing enrol_manual_enrol_users on a course created by core_course_create_courses
by Pieterjan Heyse. I'm using the REST API to create courses (core_course_create_courses) and then enrol users (enrol_manual_enrol_users), but this throws an error because the manual enrolment plugin...
View ArticleRe: Aw: Re: Re: Aw: Re: Re: Rest API for authentication
by Ashok Kumar. Hi Hamid Reza Zeinali,Did you find a solution for your problem?.I have the same requirement would really appreciate any help.
View ArticleRe: Cannot add functions to service
by John Doyle. Have also run into this error. Found it occurring when a plugin declares a web service function in /db/services.php and the classpath parameter - which should be the path to the...
View ArticleRe: login and registration form
by Angela Jones. Yes you can.Regards,Angela Jones----Check this out > $20 off $100 target coupon code by active target promo code
View ArticleRe: Using enrol_manual_enrol_users on a course created by...
by Pieterjan Heyse. I guess this is a bug: https://tracker.moodle.org/browse/MDL-30221 I'm posting more information in the tracker, hoping someone with developer skills picks this up.
View ArticleRe: Aw: Re: Re: Aw: Re: Re: Rest API for authentication
by Camilo Esteban Garzón Casallas. Hi, sorry I didn't see your message. I solved it creating a script and using moodle's API but I used a form, people needs to login first and then the script search...
View ArticleRe: Aw: Re: Re: Aw: Re: Re: Rest API for authentication
by Ashok Kumar. Thanks for your reply. My requirement is that I have an external site where user will login, I have to use this user's details to login to moodle in a new tab, I need to bypass moodle...
View ArticleRe: login and registration form
by Digitally Learn. How exactly we can i can not able to create a login page for this website - digitally learnCan anybody help ?Website made on WORDPRESS with php html mostlyHow to start exactly
View ArticleHot to retrieve courses of logged in user through Rest API
by Elshan Akbarov. I'm developing rest client for retrieving corresponding data based on user. In this case I want to fetch enrolled courses of a student. Does moodle provide an api for that?
View ArticleMoodle REST API enrol_manual_unenrol_users returning null when unenrol success
by Zuheb A. Hi Alli am using REST API's am getting null is response of APIs like in unenroll APIenrol_manual_unenrol_usersAnd in many other APIs am getting response an null when api action is...
View ArticleREST api to un enrol LTI user is not working
by Zuheb A. Hi AllNeed help in solving my issue1. User created using Publish as LTI tool is not able to unenroll using REST API enrol_manual_unenrol_users2. Unenrolling LTI user from course using API...
View ArticleRe: PowerShell Module
by GK Chesterton. This looks great! I'm just wondering, is there any way that as an ordinary user I could possible use PowerShell in order to do routine tasks in the command line rather than the GUI...
View Article