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

"Parent grades portal" help

by Doug Stevens.  Hey all, This seemed to work in an earlier version of moodle, but since moving to 3.7 it doesn't seem to work anymore. The purpose of this is to give parents access to their child's...

View Article


Re: enrol_manual_enrol_users without enrolling the web service user

by Massimo Scali.  In order to enrol a student or a teacher in a course you must authorise the web service client user to assign those roles and this is managed in a reserved tab in the "Role...

View Article


Moodle: webservice_access_exception

by Berenice Packiavathi.  I have got this exception when test the Webservice test client in REST.<?xml version="1.0" encoding="UTF-8" ?> <EXCEPTION class="webservice_access_exception">...

View Article

回复: Re: 回复: core_grades_update_grades: componet and activityid for manual...

by spoony liu.  The correct grade value is posted successfully. However, the feedback string doesn't show. Can you help with this please?

View Article

Add cohorts to sync via API

by Константин Викторович Шипулин.  HiYou must add data from a cohorts to the Learning plan templates using the API.Is there such a function?

View Article


Re: error when adding external functions to a web service.

by Adam Barker.  I managed to solve this on my install.I manage a version of Moodle that has been updated and modified a lot across the years, so was created a long time ago and upgraded a fair few...

View Article

Find course by Course ID number? (idnumber)

by Alain Benbassat.  Hi,How can I find a course by Course ID number using the REST interface?By course ID number, I mean the field idnumber.What's the wsfunction I can use and what are the...

View Article

Re: Find course by Course ID number? (idnumber)

by Alain Benbassat.  I found the solution: core_course_get_courses_by_field wsfunction=core_course_get_courses_by_field&moodlewsrestformat=json&field=idnumber&value=1234

View Article


Re: enrol_manual_enrol_users without enrolling the web service user

by Mily Rose.  In this contemporary world, we all use more than one web service in our day to day life. A web service is any piece of software that makes itself available over the internet. It also can...

View Article


File not accessable overviewfiles

by Nilesh Pathade.  showing error :  {"error":"Access control exception","errorcode":"accessexception","stacktrace":"* line 58 of \/webservice\/pluginfile.php: webservice_access_exception...

View Article

Cannot add functions to service

by Son TRAN.  Dear All,I just reinstalled Moodle version 3.8.1 build 20200113. Everything seems OK. But when I tried to add some functions to the Moodle mobile web service, I got the the following...

View Article

Missing required key in single structure: user For...

by Nilesh Pathade.  Hi All,I am using auth_userkey_request_login_url  plugin to login with username.I have developed angular App. Using Angular Service I am trying to call auth user key request to...

View Article

core_user_*: webservice_access_exception or no real data returned

by Mark Dammer.  I am currently testing an External Service (REST with JSON response) on our test system and I am experiencing problems will all user related API calls (core_user_*):core_user_get_users...

View Article


Re: core_user_*: webservice_access_exception or no real data returned

by Mark Dammer.  Problem Solved:Although the token authentication worked, the token was assigned to the wrong service (mobile web service).

View Article

Re: Get roles Webservice API

by Thomas Schröder.  Hello everyone,We have users (teachers and students) stored in an ldap tree. We wrote a Flask/Python-tool to synchronize our users cohorts and courses (to moodle and nextcloud...

View Article


REST-API: Create new users via auth_email_signup_user

by house master.  Hi,I want to add new users to our moodle system in a webapp via the REST-API. Since you need to be logged in for "core_user_create_users" to work, I thought "auth_email_signup_user"...

View Article

Re: REST-API: Create new users via auth_email_signup_user

by house master.  Ok it's working now. I enabled the developer debug messages and it told me I forgot to pass the parameters of the custom profile files, which were mandatory as well. If anyone wonders...

View Article


Re: "Parent grades portal" help

by Doug Stevens.  Hey all, just replying to move this up. Wondering if anybody has any ideas? The call doesn't return any error except to say that function "unknown" has been called. Other method calls...

View Article

Re: "Parent grades portal" help

by Doug Stevens.  Solved: The script included two subsequent role assignments. The first one gave parents access to view the content in their child's course, the second one gave them the ability to...

View Article

mod_assign_get_grades doesnt return optional value

by Hernán Anskaitiene.  Hello, I am testing to get student grades using mod_assign_get_grades service.I have managed to get the assignment results but the "gradefordisplay" field does not show it.At...

View Article
Browsing all 2361 articles
Browse latest View live