how to start work in webservices

how to start work in webservices

by deva m -
Number of replies: 1

Hi,

i want to know how web services in moodle works, also the work flow of web services

how to initiate the work in webservices and what and all i needed to acquire it...

some information in moodle documentation has been given.....still i didn't get an idea..


hereby i have a scenario,

"updating data for scorm completion"

How it can be done using web services...


Average of ratings: -
In reply to deva m

Re: how to start work in webservices

by Abhishek Pawar -

Dear deva m,

U just need almost two file to start your web service.

1) db/service.php

2) externallib.php

service.php contain two array and externalib.php contains external functions.

just go through this url https://docs.moodle.org/dev/Adding_a_web_service_to_a_plugin#Quick_start

for more informationhttps://github.com/moodlehq/sample-ws-clients

Best Regards,

Abhishek

Average of ratings: Useful (1)