platformOrgsCoursesUsersProgressDaysToCompleteRetrieveWithHttpInfo method

Future<Response> platformOrgsCoursesUsersProgressDaysToCompleteRetrieveWithHttpInfo(
  1. String courseId,
  2. String org,
  3. String userId
)

Average days used to complete a course Query Params 1. course_id

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> platformOrgsCoursesUsersProgressDaysToCompleteRetrieveWithHttpInfo(String courseId, String org, String userId,) async {
  // ignore: prefer_const_declarations
  final path = r'/api/platform/orgs/{org}/courses/{course_id}/users/{user_id}/progress/days-to-complete'
    .replaceAll('{course_id}', courseId)
    .replaceAll('{org}', org)
    .replaceAll('{user_id}', userId);

  // 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,
  );
}