POST api/StudentCourseMaterial/UpdateLastVisitedMaterial

Used to update the last visited materials

Request Information

URI Parameters

None.

Body Parameters

StudentCourseMaterialModel
NameDescriptionTypeAdditional information
StudentCourseMaterialId

Gets or sets the student course material id

integer

None.

RegistrationId

Gets or sets the registration id

integer

None.

DivisionId

Gets or sets the division id

integer

None.

CourseMaterialId

Gets or sets the course material id

integer

None.

AvailableFrom

Gets or sets the available from

date

None.

AvailableTo

Gets or sets the available to

date

None.

VisibleToStudent

Gets or sets the visible to students options

boolean

None.

LastWatchedInterval

Get or sets the last watched interval

integer

None.

LastVisitedOn

Gets or sets the last visited on details

date

None.

LastVisitedPage

Gets or sets the last visited page

integer

None.

MaterialProgress

Gets or sets the material progress

decimal number

None.

HasNotes

Gets or sets the note details

boolean

None.

IsBookMarked

Gets or sets the book mark status

boolean

None.

VideoSourceTable

Gets or sets the source name of video

string

None.

IsUpdateMaterialProgress

Get or sets update progress of material

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentCourseMaterialId": 1,
  "RegistrationId": 2,
  "DivisionId": 3,
  "CourseMaterialId": 4,
  "AvailableFrom": "2026-04-02T23:53:21.7250025-04:00",
  "AvailableTo": "2026-04-02T23:53:21.7250025-04:00",
  "VisibleToStudent": true,
  "LastWatchedInterval": 8,
  "LastVisitedOn": "2026-04-02T23:53:21.7250025-04:00",
  "LastVisitedPage": 10,
  "MaterialProgress": 11.1,
  "HasNotes": true,
  "IsBookMarked": true,
  "VideoSourceTable": "sample string 14",
  "IsUpdateMaterialProgress": true
}

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>