GET api/courses/content/intro/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CourseSessionModel
NameDescriptionTypeAdditional information
SessionID

integer

None.

CourseID

integer

None.

Name

string

None.

Session

integer

None.

Movie

integer

None.

Exam

integer

None.

Files

integer

None.

Point

integer

None.

IsOnline

boolean

None.

OfflineText

string

None.

Exercise

integer

None.

Content

Collection of CourseContentModel

None.

UserContent

Collection of UserCourseContentModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "SessionID": 1,
    "CourseID": 2,
    "Name": "sample string 3",
    "Session": 4,
    "Movie": 5,
    "Exam": 6,
    "Files": 7,
    "Point": 8,
    "Exercise": 11,
    "IsOnline": true,
    "OfflineText": "sample string 10",
    "Content": [
      {
        "$id": "2",
        "LectureNumber": 1,
        "ID": 2,
        "CourseID": 3,
        "Session": 4,
        "ContentID": 5,
        "Type": 6,
        "Priority": 7,
        "PrerequisiteID": 8,
        "IsFree": true,
        "Title": "sample string 10",
        "IsDownloadable": true,
        "URL": "sample string 12"
      },
      {
        "$ref": "2"
      }
    ],
    "UserContent": [
      {
        "$id": "3",
        "Status": 1,
        "LectureNumber": 2,
        "UserStatus": 3,
        "MainGroupID": 4,
        "ID": 8,
        "CourseID": 11,
        "Session": 12,
        "ContentID": 13,
        "Type": 14,
        "Priority": 10,
        "PrerequisiteID": 11,
        "IsFree": true,
        "Title": "sample string 13",
        "IsDownloadable": true,
        "URL": "sample string 15",
        "VideoDuration": 1.1,
        "ExamName": "sample string 2",
        "ExamNumberOfQuestion": 3,
        "ExamIsTimeLimt": true,
        "ExamMinScore": 5,
        "ExamTimeLimit": 6,
        "ExamWrongAnswer": 7,
        "EnrolID": 9,
        "UserID": 10,
        "Passed": true,
        "LastVisit": "sample string 16",
        "Score": 17.1,
        "CourseContentID": 18
      },
      {
        "$ref": "3"
      }
    ]
  },
  {
    "$ref": "1"
  }
]