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

Image may be NSFW.
Clik here to view.

how to send params using postman

by Alberto Marin.  Hi there!,I am developing a custom web service but I would like to understand what I am doing as sometimes I get lost. So, let's say I have this:public static function...

View Article


Re: API for Non-HTML Quiz Attempt Questions

by Tim Hunt.  At the moment there are not. There are exsitnig plugins to archive Moodle quiz attempts. Look in the plugins database.

View Article


Re: How to use moodle APIs to create quiz and questions

by Rodrigo Martins.  I'm a bit disappointed we're not able to create quizzes via API.However, renaming sections is possible. I strugled with it a bit but I found out we can use...

View Article

Re: How to use moodle APIs to create quiz and questions

by Stoo Sepp.  Thanks for this - Sadly, I don't have access to that, because as an instructor at my institution, I only have access to mobile_app REST API functions and many of the core functions are...

View Article

Re: gradereport_user_get_grade_items not returning item information

by Pete Edwards.  Can anyone help with this please?

View Article


Re: API for Non-HTML Quiz Attempt Questions

by Rok P.  Thanks for provided info. We need to generate PDF outside of Moodle. We will investigate the option to implement a custom web service on Moodle, to expose quiz attempt details data.

View Article

Re: mod_quiz_start_attempt to set a user override for opening a quiz

by Az At.  Hello! Have you solved the problem?

View Article

Re: mod_quiz_start_attempt to set a user override for opening a quiz

by Tim Hunt.  mod_quiz_start_attempt is a web service to start a new quiz attempt. That will not create an override. At the moment, web services for creating overrides don't exist. That is being worked...

View Article


Moodle API - get all completions per course -...

by Ahsan Tejani.  I have an external app that needs to know which users have completed a course in Moodle via the API. That is to say, it will want to know who completed course 123, and be given back a...

View Article


Image may be NSFW.
Clik here to view.

Re: how to send params using postman

by Matt Gleeson.  Hi Alberto,Regarding sending array elements in postman (if I understand your intention and code snippets correctly), you can send your 'params' parameters in what should be the form...

View Article

Re: how to send params using postman

by Matt Gleeson.  Apologies, the keys should have read: params[0][orderby]  params[0][order]  Cheers, -Matt.

View Article

Fetch a quiz questions via API for external service

by Babacar Thierry Diagne.  Hello, I am relatively new to the community. Let me know if question is a duplicate and the more details in your answers will be very helpful to me.I am trying to export...

View Article

Re: how to send params using postman

by Alberto Marin.  Thank you Matt, That worked!!

View Article


Re: Fetch a quiz questions via API for external service

by Tim Hunt.  It is not meaningful to as 'which questions are in this quiz' becuase it might be different for different students. You can only get the questions once you have created a quiz attempt for...

View Article

Web Service function core_group_create_groupings gives error if no id number...

by Jasmin Salam.  Hi,I'm currently testing web service functions for setting up an external service integration. I encountered an issue with the core_group_create_groupings function. According to my...

View Article


Re: Fetch a quiz questions via API for external service

by Babacar Thierry Diagne.  _"It is not meaningful to as 'which questions are in this quiz' becuase it might be different for different students"You mean that there are settings to filter questions in...

View Article

Web access not working

by Dark Duck.  Good DayI am trying to launch a server, it is hosted localled and webservices have been enabled.I am running ubuntu 22.04 lts and Moodle 4.3php 8at this stage I am running purely on...

View Article


Re: Web access not working

by Dark Duck.  I will note that I can remotely SSH and FTP into the server. I have setup a subdomain that points to the ip of my home server (public static IP)

View Article

Image may be NSFW.
Clik here to view.

Class "external_api" not found

by jonathan diaz.  I'm getting this error when trying to add functions to the web service, my moodle version 4.3.3+stable After clicking, indicate the following as shown in the imageI need the help...

View Article

Re: Web access not working

by Ken Task.  webservices isn't needed for a computer browser to access a moodle site.  webservices intended for mobile support.From your description, sounds like you have a Ubuntu server (where moodle...

View Article
Browsing all 2362 articles
Browse latest View live


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