GET api/courses/GetMyCourse?courseId={courseId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
courseId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SearchResultItem
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Introduction

string

None.

GroupName

string

None.

ImageURL

string

None.

Rating

decimal number

None.

RatingCount

integer

None.

Price

integer

None.

OldPrice

integer

None.

Priority

integer

None.

Level

integer

None.

IsPackage

boolean

None.

CoursesCount

integer

None.

NumberOfStudents

integer

None.

EnrolID

integer

None.

UserStatus

integer

None.

Progress

decimal number

None.

Score

decimal number

None.

PassScore

decimal number

None.

InPackageId

integer

None.

PackageOrderNumber

integer

None.

ContentProgresses

Collection of UserContentProgress

None.

TeacherId

integer

None.

TeacherName

string

None.

TeacherImageURL

string

None.

CourseLength

integer

None.

Comments

string

None.

HasCertificate

boolean

None.

UserRate

decimal number

None.

HasParticipatedInSurvey

boolean

None.

ImagePath

string

None.

CourseID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "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": "2",
      "EnrolId": 1,
      "Type": 1,
      "TotalCount": 2,
      "PassedCount": 3
    },
    {
      "$ref": "2"
    }
  ],
  "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
}