POST api/StudyHub2/UpdateStudentCourseMaterials

Request Information

URI Parameters

None.

Body Parameters

StudentCourseMaterialInfoDto
NameDescriptionTypeAdditional information
StudentCourseMaterialId

integer

None.

UpdateType

Collection of string

None.

MaterialProgress

decimal number

None.

LastWatchedInterval

integer

None.

Annotations

string

None.

LastVisitedPage

integer

None.

IsShuffle

boolean

None.

IsBookMarked

boolean

None.

HasMemos

boolean

None.

MemoComment

MemoCommentCreateDto

None.

VideoProgressLog

VideoProgressCreateDto

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentCourseMaterialId": 1,
  "UpdateType": [
    "sample string 1",
    "sample string 2"
  ],
  "MaterialProgress": 2.0,
  "LastWatchedInterval": 3,
  "Annotations": "sample string 4",
  "LastVisitedPage": 5,
  "IsShuffle": true,
  "IsBookMarked": true,
  "HasMemos": true,
  "MemoComment": {
    "Id": 1,
    "StudentEnrollmentId": 2,
    "VideoId": 3,
    "Comments": "sample string 4",
    "NoteInterval": 5,
    "StudentCourseMaterialId": 6,
    "ScheduleMaterialId": 7
  },
  "VideoProgressLog": {
    "Id": 1,
    "StudentEnrollmentId": 2,
    "StudentCourseMaterialId": 3,
    "ScheduleMaterialId": 4,
    "VideoId": 5,
    "StartPosition": 6,
    "EndPosition": 7,
    "LogStartTime": "2026-04-02T23:53:29.7982582-04:00",
    "LogEndTime": "2026-04-02T23:53:29.7982582-04:00"
  }
}

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Info

ReturnResult

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Info": {
    "Status": true,
    "Message": "sample string 2",
    "AdditionalData": {},
    "ObjAppResponseMessage": {
      "Status": true,
      "Message": "sample string 2",
      "AdditionalData": "sample string 3"
    }
  },
  "Data": {}
}