POST api/CourseManagement/PostUserCourseContent

Request Information

URI Parameters

None.

Body Parameters

Collection of UserCourseContent
NameDescriptionTypeAdditional information
ID

integer

None.

EnrolID

integer

None.

UserID

integer

None.

CourseID

integer

None.

Session

integer

None.

ContentID

integer

None.

Type

integer

None.

Passed

boolean

None.

LastVisit

string

None.

Score

decimal number

None.

CourseContentID

integer

None.

ID

integer

None.

CourseID

integer

None.

Session

integer

None.

ContentID

integer

None.

Type

integer

None.

Priority

integer

None.

PrerequisiteID

integer

None.

IsFree

boolean

None.

Title

string

None.

IsDownloadable

boolean

None.

URL

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "ID": 1,
    "CourseID": 4,
    "Session": 5,
    "ContentID": 6,
    "Type": 7,
    "Priority": 6,
    "PrerequisiteID": 7,
    "IsFree": true,
    "Title": "sample string 9",
    "IsDownloadable": true,
    "URL": "sample string 11",
    "EnrolID": 2,
    "UserID": 3,
    "Passed": true,
    "LastVisit": "sample string 9",
    "Score": 10.1,
    "CourseContentID": 11
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.