POST api/courses/content/notes

Request Information

URI Parameters

None.

Body Parameters

NoteModel
NameDescriptionTypeAdditional information
ID

integer

None.

EnrolID

integer

None.

CourseContentID

integer

None.

CourseID

integer

None.

Session

integer

None.

Note

string

None.

Time

decimal number

None.

CreateDate

date

None.

JalaliCreateDate

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EnrolID": 2,
  "CourseContentID": 3,
  "CourseID": 4,
  "Session": 5,
  "Note": "sample string 6",
  "Time": 7.0,
  "CreateDate": "2020-07-16T08:28:36.1006667+04:30",
  "JalaliCreateDate": "sample string 9",
  "UserID": 10
}

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 'NoteModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1