Quantcast
Channel: Web services
Browsing all 2363 articles
Browse latest View live

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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Using 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 Article


Re: 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 Article

Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article


Re: 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 Article

Hot 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 Article


Moodle 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 Article

REST 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 Article

Image may be NSFW.
Clik here to view.

Re: 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
Browsing all 2363 articles
Browse latest View live