src/app/modules/dashboard/services/course-progress/course-progress.service.ts
Service to get course progress dashboard
It responsible to make http call
Properties |
|
Methods |
constructor(learnerService: LearnerService, config: ConfigService, usageService: UsageService, telemetryService: TelemetryService)
|
|||||||||||||||
Parameters :
|
downloadDashboardData | ||||
downloadDashboardData(requestParam)
|
||||
This method calls the download API
Parameters :
Returns :
any
|
getBatches | ||||
getBatches(requestParam)
|
||||
To method calls the batch list API
Parameters :
Returns :
any
|
getDashboardData | ||||
getDashboardData(requestParam)
|
||||
To method calls the get dashboard API
Parameters :
Returns :
any
|
getReportsMetaData | ||||
getReportsMetaData(requestParam)
|
||||
Parameters :
Returns :
Observable<ServerResponse>
|
parseDasboardResponse | ||||
parseDasboardResponse(data)
|
||||
This method takes the result and formats it
Parameters :
Returns :
{}
|
Public config |
Type : ConfigService
|
To get api urls |