GET api/courses/GetMyCourses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserCoursesViewModel
NameDescriptionTypeAdditional information
WishList

Collection of SearchResultItem

None.

InProgress

Collection of SearchResultItem

None.

Passed

Collection of SearchResultItem

None.

Response Formats

application/json, text/json

Sample:
{
  "WishList": [
    {
      "$id": "2",
      "Id": 1,
      "Name": "sample string 2",
      "Introduction": "sample string 3",
      "GroupName": "sample string 4",
      "ImageURL": "sample string 5",
      "Rating": 1.1,
      "RatingCount": 6,
      "Price": 7,
      "OldPrice": 8,
      "Priority": 9,
      "Level": 10,
      "IsPackage": true,
      "CoursesCount": 12,
      "NumberOfStudents": 13,
      "EnrolID": 1,
      "UserStatus": 14,
      "Progress": 15.1,
      "Score": 16.1,
      "PassScore": 17.1,
      "InPackageId": 1,
      "PackageOrderNumber": 18,
      "ContentProgresses": [
        {
          "$id": "3",
          "EnrolId": 1,
          "Type": 1,
          "TotalCount": 2,
          "PassedCount": 3
        },
        {
          "$ref": "3"
        }
      ],
      "TeacherId": 19,
      "TeacherName": "sample string 20",
      "TeacherImageURL": "sample string 21",
      "CourseLength": 22,
      "Comments": "sample string 23",
      "HasCertificate": true,
      "UserRate": 25.1,
      "HasParticipatedInSurvey": true,
      "ImagePath": "sample string 5",
      "CourseID": 1
    },
    {
      "$ref": "2"
    }
  ],
  "InProgress": [
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "Passed": [
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ]
}