Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Web service API for fetching course price , start date, end date.

$
0
0

by Talat Mirza.  


We are developing an app-based extension of the Moodle LMS with some additional, custom requirements.This Moodle integration will comprises student registration, enrollment, and sync of all activities, sections, courses, and learning plans. In the application we designed, there are two sections:- one section focuses on user's enrolled courses and the other is a course catalog section that displays all courses except the enrolled ones. The issue we faced are:

1) In course catalog section, we were unable to get data for Course Price from the web service API's. 

2) In user's enrolled courses section, we need data for start date and end date of a particular enrolled course from web service API.

For fetching user's enrolled courses we've used  core_enrol_get_users_courses API . The response data of this API doesn't give data for the Start and End date.

For fetching all courses information in course catalog section, we've used core_course_get_courses_by_field API. The Response doesn't give data for course price.


Viewing all articles
Browse latest Browse all 2361

Trending Articles



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