C# Class SchooxSharp.Api.Clients.Courses

Inheritance: SchooxApiBase
Afficher le fichier Open project: jamesbar2/SchooxSharp Class Usage Examples

Méthodes publiques

Méthode Description
Courses ( ) : System.Collections.Generic
Courses ( ISchooxService schooxService ) : System.Collections.Generic
GetCouponsInCourse ( int courseId, int userId = null ) : SchooxResponse>

Returns a list of generated coupons for a specific course.

GetCourseInvitations ( int courseId, int userId = null ) : SchooxResponse

You can either assign a course to a user or invite the user to enroll in a course. If you assign the course the user will automatically be enrolled in and the course in considered to be required. If you send an invitation the user will have the option to enroll optionally. This request returns a list of all invitations that have been sent for a particular course.

GetDetailsForCourse ( int courseId, int userId = null ) : SchooxResponse

Returns extended details of a specific course. A user's progress percentage, time spent and enrollment date can be retrieved by his/her schooX ID.

GetExamsInCourse ( int courseId, int userId = null ) : SchooxResponse>

Returns a list of a course's exams. You can retrieve the date of his or her last attempt, total score and points as well as the passing or failure status for each exam by his/her schooX ID.

GetLecturesInCourse ( int courseId, int userId = null ) : SchooxResponse>

Returns a list of a course's lectures. You can retrieve a user's progress percentage, time spent and number of views for each lecture by his/her schooX ID.

GetListOfCourses ( int start = null, int limit = null ) : SchooxResponse>

Returns a list of all courses with extended details.

GetListOfUserCourses ( int userId, string tab = null, int start = null, int limit = null ) : SchooxResponse>

Returns a list of a user's enrolled & created courses with extended details by his/her schooX ID.

GetUsersEnrolledInCourse ( int courseId, int userId = null, int start = null, int limit = null ) : SchooxResponse>

Returns a list of a course's enrolled users with each user's enrolled date, progress percentage and time spent.

GetUsersUsingCourseCoupon ( int courseId, int couponId, int userId = null ) : SchooxResponse>

Returns a list of a course's enrolled users for a specific coupon with each user's enrolled date, progress percentage and time spent.

Method Details

Courses() public méthode

public Courses ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Courses() public méthode

public Courses ( ISchooxService schooxService ) : System.Collections.Generic
schooxService ISchooxService
Résultat System.Collections.Generic

GetCouponsInCourse() public méthode

Returns a list of generated coupons for a specific course.
public GetCouponsInCourse ( int courseId, int userId = null ) : SchooxResponse>
courseId int Course ID
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse>

GetCourseInvitations() public méthode

You can either assign a course to a user or invite the user to enroll in a course. If you assign the course the user will automatically be enrolled in and the course in considered to be required. If you send an invitation the user will have the option to enroll optionally. This request returns a list of all invitations that have been sent for a particular course.
public GetCourseInvitations ( int courseId, int userId = null ) : SchooxResponse
courseId int Course ID
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse

GetDetailsForCourse() public méthode

Returns extended details of a specific course. A user's progress percentage, time spent and enrollment date can be retrieved by his/her schooX ID.
public GetDetailsForCourse ( int courseId, int userId = null ) : SchooxResponse
courseId int Course ID for details.
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse

GetExamsInCourse() public méthode

Returns a list of a course's exams. You can retrieve the date of his or her last attempt, total score and points as well as the passing or failure status for each exam by his/her schooX ID.
public GetExamsInCourse ( int courseId, int userId = null ) : SchooxResponse>
courseId int Course ID
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse>

GetLecturesInCourse() public méthode

Returns a list of a course's lectures. You can retrieve a user's progress percentage, time spent and number of views for each lecture by his/her schooX ID.
public GetLecturesInCourse ( int courseId, int userId = null ) : SchooxResponse>
courseId int Course ID
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse>

GetListOfCourses() public méthode

Returns a list of all courses with extended details.
public GetListOfCourses ( int start = null, int limit = null ) : SchooxResponse>
start int Starting position
limit int Max size of retrieved courses
Résultat SchooxResponse>

GetListOfUserCourses() public méthode

Returns a list of a user's enrolled & created courses with extended details by his/her schooX ID.
public GetListOfUserCourses ( int userId, string tab = null, int start = null, int limit = null ) : SchooxResponse>
userId int User ID of courses to retrieve.
tab string
start int Starting position
limit int Max size of retrieved courses
Résultat SchooxResponse>

GetUsersEnrolledInCourse() public méthode

Returns a list of a course's enrolled users with each user's enrolled date, progress percentage and time spent.
public GetUsersEnrolledInCourse ( int courseId, int userId = null, int start = null, int limit = null ) : SchooxResponse>
courseId int Course ID
userId int User's ID you want to retrieve his/her course list view
start int Starting position
limit int Max size of retrieved courses
Résultat SchooxResponse>

GetUsersUsingCourseCoupon() public méthode

Returns a list of a course's enrolled users for a specific coupon with each user's enrolled date, progress percentage and time spent.
public GetUsersUsingCourseCoupon ( int courseId, int couponId, int userId = null ) : SchooxResponse>
courseId int Course ID
couponId int Coupon ID
userId int User's ID you want to retrieve his/her course list view
Résultat SchooxResponse>