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:

  1. Create a specific user: Each application should have a separate user account. That way you can control the capabilities each external system is going to use.
  2. Check user capability: Depending on the protocol selected above, 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. This role has to be assigned ...

Get Moodle 2 Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.