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

Re: Suddenly getting "Error communicating with server"

by Sarah Ashley.  Oh, interesting! Okay, let me follow that path and see what I find. The thing is that everything was working fine for months and months, and then all of a sudden, without anything...

View Article


Re: Suddenly getting "Error communicating with server"

by Ken Task.  One way or another, please do come back and share where you host and if shared or VPS + resolution of the issue.Others might find themselves in the same situation and that info would help...

View Article


Re: Pagination of webservices

by Rizwan Techloyce.  Yes, you can paginate REST webservice calls in Moodle using limit and offset. Set limit to control the number of records per call, and adjust offset to retrieve the next set of...

View Article

Re: Suddenly getting "Error communicating with server"

by Ken Task.  Strange!What's your version of PHP and does your server load php-soap?The directory the error points to contains only a webservice_soap.php php file and inspecting it appears to strings...

View Article

Moodle 4.1 API - Need some general pointers

by Matt Parker.  Hi,I'm a Moodle administrator and I'm familiar with most of Moodle but my company has a new digital services director who wants to integrate our Moodle site to push data to and from...

View Article


Re: Moodle 4.1 API - Need some general pointers

by Jock Coats.  Some *very* general pointers! It took us years to really understand the API system and just how powerful it is. Even though our hosting company and others were telling us all along that...

View Article

Re: Moodle 4.1 API - Need some general pointers

by Matt Parker.  Thanks so much! This is really useful. I feel a lot better now.Regarding your response to point 2:2. Yes...the whole point about api endpoints in this case is that they are just smart...

View Article

Image may be NSFW.
Clik here to view.

Re: Moodle 4.1 API - Need some general pointers

by Jock Coats.  Funnily enough, no! There are a couple of different ways different apis work, and I had forgotten that Moodle ones don't expose everything on the url, but carry their parameters in the...

View Article


Image may be NSFW.
Clik here to view.

Re: Moodle 4.1 API - Need some general pointers

by Jock Coats.  So here's an illustration of the same request set out in the PostMan tool I was talking about:

View Article


Re: Moving a file from Draft Area to a course using REST API endpoint

by Simcentric Simson.  Anyone ???

View Article

Error in token.php

by Susana Willemoës.  Hi! I have a Moodle 4.5 installed and I´m configuring external webservices I´ve been using in another moodle 4.0 with no problems. But now, in this new version, when I add a token...

View Article

Re: Error in token.php

by Susana Willemoës.  Hi! I want to add that I can see the error with Boost theme. Thank you!!

View Article

Re: Error in token.php

by Susana Willemoës.  And with debug on it shows this: Trazado de la pila (stack): line 214 of /webservice/classes/reportbuilder/local/systemreports/tokens.php: TypeError thrown line 146 of...

View Article


Image may be NSFW.
Clik here to view.

How to export/import Moodle 4.4 courses in mbz format via HTTPS API?

by Rene Bartsch.  Hi,we need to export/import Moodle 4.4 courses in mbz format (content only, no user/group data, etc.) via the HTTPS web-service API (with a Typescript client).Which HTTPS-API...

View Article

Re: Error in token.php

by Millicent MT.  Hi @susana, i have upgraded to Moodle 4.5 and experiencing the same issue with my webservices. Did you find any solution to the issue?

View Article


Re: Web API to update quiz due date and password

by Raz tamim.  I think you need to look at update_moduleinfo see the reference here:https://wimski.org/api/4.1/d5/dd0/group__core__course.html#ga53b848d1785ef6d642e3f4d2a7223a6c

View Article

Re: Web API to update quiz due date and password

by SingChun Lee.  Thanks for the reply! But I don't find the update_moduleinfo in the web API. Any equivalent function in the web API can do that? Maybe core_course_edit_module can do this?Anyhow,...

View Article


core_user_get_users_by_field doesn't return 'alternatename' field

by John Muster.  Hello community,we are using the API function 'core_user_get_users_by_field' to retrieve userdetails by the 'idnumber' field and we noticed that the 'alternatename' field doesn't get...

View Article

Re: Error in token.php

by Andrea Briganti.  I have the same error with Moodle 4.5+. I will open a ticket

View Article

Error in token.php

by Paul Holden.  Hi Susana, this is being tracked in MDL-83959

View Article
Browsing all 2361 articles
Browse latest View live