platformOrgsCoursesProgressInProgressRetrieveWithHttpInfo method

Future<Response> platformOrgsCoursesProgressInProgressRetrieveWithHttpInfo(
  1. String courseId,
  2. String org
)

In Progress means any unit completion in the past 30 days For platform : Total users who have atleast a course in_progress on the platform For course : Total users For learner : Total courses in progress Query Params 1. course_id

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> platformOrgsCoursesProgressInProgressRetrieveWithHttpInfo(String courseId, String org,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/platform/orgs/{org}/courses/{course_id}/progress/in-progress'
    .replaceAll('{course_id}', courseId)
    .replaceAll('{org}', org);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}