Missing functions at Web Service Test Client
by Aung Pyae Sone. I've added the all functions in Custom Service as external service. When I tried to test the function, I could fund the functions that I've added at Web Service Test Client. Check...
View ArticleGET request: core_course_get_courses
by neptune 1. Hi, I'm making the following GET request in postman: ...?wstoken=********&wsfunction=core_course_get_courses and it's returning all 8 courses that I have set up in Moodle for...
View ArticleRe: GET request: core_course_get_courses
by Neill Magill. It sounds like you want to use the core_enrol_get_users_courses web service
View ArticleWhy does a category idnumber return null?
by Peter de Jong. I use the Moodle API and GetToken to log-in with a user. Then I retrieve the categories information here:api.GetCategories(siteInfo.Userid, categories => {...
View ArticlePost payload didn't send to Web Service via RAW/JSON
by Sergio Ricardo Bernardi. Hello,I try to make a request via POST to Moodle Web Service API but the payload didn't send to web service, only url. If i try to send my parameters via GET it works.Is...
View ArticleRe: core_user_get_users_by_field return blank array
by Jose Lorenzo Espeso. Yes, this is the solution. Thank You! Give the capacity "Moodle/user:viewalldetails" to the rol of web services.
View ArticleOnly number ID at token
by Matheus Reis Cascardo. We have been using Moodle only in PC and the students "ID" working well only with numbers.Now, using the Token at mobile application, we needed to change the student ID for...
View Articleweb services with personal access token
by Abdelrahman Magdi. when use moodle_mobile_app web service i can user user token to access any function on it but when i create any web service i must create a client token i need to create web...
View ArticleRest Web Service - Getting List of System Cohorts
by Robert Payne. Hello,I'm trying to use Moodle Rest Web Service to get a list of all system cohorts so that I can compare it with a list from outside moodle and then update the cohort to match that...
View ArticleRe: Rest Web Service - Getting List of System Cohorts
by Robert Payne. Never mind I worked out that I needed to use system context. Using the following arguments got me all the cohorts in my moodle test site.args: { query:'',...
View ArticleHow to get token or login/password of already logged in user?
by Rustam Rakhimov. Hello!I want to embed to Moodle course Unity WebGL mini-games as quizzes/questions and to exchange data with Moodle such as attempts, correct/wrong answers and so on. To do so I...
View ArticleRe: Why does a category idnumber return null?
by Peter de Jong. Bump.How can I retrieve category idNumber through WEB API?Thanks.
View ArticleMoodle core_user_create_users Access control exception
by Huy Đức Lê. Can anyone tell me how to use the example code here ? https://github.com/moodlehq/sample-ws-clients/blob/master/JAVA-REST/RestJsonMoodleClient.javaWhen I use my admin token from manage...
View ArticleRe: error when adding external functions to a web service.
by Eswar k. Hi Rama,upgrade joomdle plugin,in your plugins tab(using administrator login),then it works.Thanks
View ArticleEnroling course and role assignment through rest api
by Eswar k. Hi All,Im using moodle version-3.3 ,iam able to create users through rest API,but i m failing to assign roles and coures to that user presently im facing this error,plz check...
View ArticleCan you get the feedback in the grade book with a webservice?
by Richard van Iwaarden. Is it possible to get the feedback that has been given to a student for an assignment with a web service?We would like to archive not just the grade but also the feedback AND...
View ArticleRe: Can you get the feedback in the grade book with a webservice?
by Zadok Lindt. Yes, I currently do exactly this for my institution. To get started, have a look at:https://docs.moodle.org/dev/Web_service_API_functionsAnd specifically...
View ArticleRe: Enroling course and role assignment through rest api
by Zadok Lindt. You have to muck around with the permissions in the System Admin section of Moodle to get it to work.(I forget the name of the screen, I think its in "Plugins" or "Webservice" or...
View ArticleWhich web service call allows fetching gradebook categories?
by Zadok Lindt. When we invoke gradereport_user_get_grade_items, to get a full list of all student grades in a course, the results include a field named categoryid. But the results do not provide...
View ArticleRe: Which web service call allows fetching gradebook categories?
by Zadok Lindt. Consider the data extracted from a course with a categoryitemtype: course, categoryid: 71, grade: 61.07 itemtype: category, category: 80, grade: 50.87 itemtype: mod,...
View Article