O'Reilly logo

Moodle 3 Administration - Third Edition by Alex Büchner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling web services for external systems

An external system is any application that accesses Moodle and its data in one way or the other. There are eight steps that have to be performed to complete the setup, which follow the workflow described on the web services overview screen:

Create a specific user

Each application should have a separate user account. This way, you can control the capabilities that each external system is going to use. Our user is aptly called web service.

Check user capability

Depending on the protocol you've selected, you have to allow the respective permissions for the user. You achieve this by creating a new role with any of the four capabilities, webservice/amf:use, webservice/rest:use, webservice/soap:use, or webservice/xmlrpc:use ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required