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

Re: Parameters of API Method

by Jacob Peters.  I've got nearly no experience but it might be helpful to have a look at Dashboard / Preferences / User account / Security Keys / Web service documentation

View Article


Re: Parameters of API Method

by Jacob Peters.  And if you are admin maybe this older post can help you https://moodle.org/mod/forum/discuss.php?d=421163

View Article


Re: Rest API for authentication

by Matthew Terentjevs.  I believe this module - https://github.com/catalyst/moodle-auth_userkey can help with this. It creates an endpoint to generate a one-time URL user can be redirected to create a...

View Article

How do I upload files to an assignment without removing previous submissions

by Sujit Kumar.  I upload a file to Moodle using this request.[POST] https://{{baseUrl}}/webservice/upload.php?token={{token}}&itemid=0 Which gives this response on success.[ { "component":...

View Article

Re: How do I upload files to an assignment without removing previous submissions

by Sujit Kumar.  I was told the moodle mobile app gets the submission status, parses the file details out of the response and then merges the new and existing file info into an array, which is then...

View Article


core_user_get_users not returning customfield array

by Jock Coats.  I wonder if anyone can help with this...My understanding of the API documentation is that core_user_get_users should return two arrays as part of its response that contain preferences...

View Article

Re: core_user_get_users not returning customfield array

by Jock Coats.  Oops! What an idiot I am. Yes, I had saved the data I was expecting, but in my admin account, not in the user account I was trying to query via postman! Panic over, thank you! It does...

View Article

Override activity completion status

by Stefan Ramaker.  Hi Community,I try to override activity completion status (core_completion_override_activity_completion_status). I am not sure which new State value I need to pass. As I understood...

View Article


How to Retrieve Percentage Complete

by David Ward.  Hello,I have looked through the E-R diagrams and the data dictionary information I could find, but I do not see the field I am looking for.Is there a field that captures the percentage...

View Article


Re: How to Retrieve Percentage Complete

by Michael Hughes.  I'm not sure it's as simple as just looking up a field in the database! As things like activity & course completion & restrict access conditions allow the definition of...

View Article

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

by Marcos Paulo Sales dos Santos.  Me Salvou !! Valew meu caro ! I Saved!! Thanks my dear!

View Article

Can I integrate Moodle with WooCommerce using REST API?

by Vania Salgadinho.  Hi,I am new to the field of Web development in general (and to Moodle in particular), but I am trying to integrate my Moodle platform with my WooCommerce shop in WordPress. By...

View Article

error api for uploading image of course

by Hatem Ghaly.  hello I have the following code<?php $token = 'xxxxxxxxxxxx'; $domainname = 'xxxxxxxxxxxxxxxxxxx'; $restformat = 'json';require_once('curl.php'); //Download this file$curl = new...

View Article


Re: error api for uploading image of course

by Hatem Ghaly.  can anybody answer this ?

View Article

Image may be NSFW.
Clik here to view.

why error core_completion_get_course_completion_status

by Hatem Ghaly.  

View Article


Image may be NSFW.
Clik here to view.

Enroll users in the course

by Moritz Grey.  Hey there, Which web service can I use to enroll users in a course?Thanks MGR

View Article

Upload multiple file in mod_assign_save_submission on Moodle API

by Bang Nguyen.  Currently, I use core_files_upload API to upload files and use mod_assign_save_submission to upload assignments.But now, I'm having the problem of saving only one file when using...

View Article


Moodle Cloud: What is the URI for the call?

by Jobst Schmalenbach.  Hi.I have used many API's, so I get the fundamentals.I read the documentation here: https://docs.moodle.org/311/en/Web_servicesI have a token, I created an external service...

View Article

Re: Cannot use object of type external_single_structure as array error when...

by Leon Stringer.  This reply may help.

View Article

Core Get User Courses Weirdness

by Eric Katchan.  Hello, Can someone explain why certain courses do not appear when using "core_enrol_get_users_courses"?  We noticed that when the course settings Groups mode is set to Separate groups...

View Article
Browsing all 2362 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>