C# Класс SchooxSharp.Api.Clients.Courses

Наследование: SchooxApiBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Courses() публичный Метод

public Courses ( ) : System.Collections.Generic
Результат System.Collections.Generic

Courses() публичный Метод

public Courses ( ISchooxService schooxService ) : System.Collections.Generic
schooxService ISchooxService
Результат System.Collections.Generic

GetCouponsInCourse() публичный Метод

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
Результат SchooxResponse>

GetCourseInvitations() публичный Метод

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
Результат SchooxResponse

GetDetailsForCourse() публичный Метод

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
Результат SchooxResponse

GetExamsInCourse() публичный Метод

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
Результат SchooxResponse>

GetLecturesInCourse() публичный Метод

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
Результат SchooxResponse>

GetListOfCourses() публичный Метод

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
Результат SchooxResponse>

GetListOfUserCourses() публичный Метод

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
Результат SchooxResponse>

GetUsersEnrolledInCourse() публичный Метод

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
Результат SchooxResponse>

GetUsersUsingCourseCoupon() публичный Метод

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
Результат SchooxResponse>