GET api/StudentCourseMaterial/GetTopicAndMaterialDetail?regId={regId}&fromdevice={fromdevice}

Used to get topic and material details for a registration

Request Information

URI Parameters

NameDescriptionTypeAdditional information
regId

integer

Required

fromdevice

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of StudentCourseMaterials
NameDescriptionTypeAdditional information
StudentCourseMaterialId

Gets or sets the student course material id

integer

None.

RegistrationId

Gets or sets the registration id

integer

None.

IsPreviewRegistration

Used to check whether the registration is preview

boolean

None.

IsPreview

Used to check whether the material is allowed for preview

boolean

None.

IsSubscriptionCenter

Gets or sets the is subscription center

boolean

None.

CourseMaterialId

Gets or sets the course material id

integer

None.

CourseMaterialFolderId

Gets or sets the course material Folder 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.

MaterialType

Gets or sets material type

string

None.

MaterialSequence

Gets or sets the material sequence

integer

None.

MaterialTypeInfo

Gets or sets material type

CourseMaterialType

None.

FolderInfo

Gets or sets the course material folder details

CourseMaterialFolder

None.

MaterialInfo

Gets or sets the course material details

CourseMaterials

None.

TrackProgress

Gets or sets track progress

boolean

None.

IsFolderTrackProgress

Gets or sets the folder track progress

boolean

None.

ParentStudentCourseMaterialId

Gets or sets the parent student course material id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StudentCourseMaterialId": 1,
    "RegistrationId": 2,
    "IsPreviewRegistration": true,
    "IsPreview": true,
    "IsSubscriptionCenter": true,
    "CourseMaterialId": 6,
    "CourseMaterialFolderId": 7,
    "AvailableFrom": "2026-04-02T23:52:02.5338566-04:00",
    "AvailableTo": "2026-04-02T23:52:02.5338566-04:00",
    "VisibleToStudent": true,
    "LastWatchedInterval": 11,
    "LastVisitedOn": "2026-04-02T23:52:02.5338566-04:00",
    "LastVisitedPage": 13,
    "MaterialProgress": 14.1,
    "HasNotes": true,
    "IsBookMarked": true,
    "MaterialType": "sample string 17",
    "MaterialSequence": 18,
    "MaterialTypeInfo": {
      "CourseMaterialTypeId": 1,
      "ShortCode": "sample string 2",
      "GroupCode": "sample string 3",
      "Description": "sample string 4",
      "CssIconClass": "sample string 5",
      "IsEnabled": true,
      "EnableAllowDownload": true,
      "EnableAddWaterMark": true,
      "EnableNeedPayment": true,
      "EnablePreview": true,
      "EnableTrackProgress": true,
      "EnableAccessDuration": true,
      "EnableTimeDuration": true,
      "EnableStudentVisibility": true,
      "MaterialTypeName": "sample string 15"
    },
    "FolderInfo": {
      "CourseMaterialFolderId": 1,
      "EncrytedCourseMaterialFolderId": "sample string 2",
      "PeriodId": 3,
      "CourseId": 4,
      "CenterId": 5,
      "SubjectId": 6,
      "FolderName": "sample string 7",
      "ParentCourseMaterialFolderId": 8,
      "CreatedOn": "2026-04-02T23:52:02.5338566-04:00",
      "Sequence": 10,
      "TopicLevel": 11,
      "FolderProgress": 12.0
    },
    "MaterialInfo": {
      "CourseMaterialId": 1,
      "CourseMaterialFolderId": 2,
      "ShortCode": "sample string 3",
      "Description": "sample string 4",
      "MaterialSequence": 5,
      "TestGroupId": 6,
      "PracticePortalTestId": 7,
      "VideoId": "sample string 8",
      "FileId": "sample string 9",
      "CourseMaterialReferenceId": 10,
      "ItemIndex": 11,
      "Duration": 12,
      "AllowDownload": true,
      "MaterialAccess": true,
      "lastVisitedMaterialId": 15,
      "TrackProgress": true,
      "MaterialLevel": 17,
      "WaterMarkTextId": 18,
      "QuestionBankDirectories": [
        {
          "QuestionBankDirectoryId": 1,
          "MaterialId": 2,
          "DirectoryId": 3
        },
        {
          "QuestionBankDirectoryId": 1,
          "MaterialId": 2,
          "DirectoryId": 3
        }
      ],
      "OfflineAllowDownload": true
    },
    "TrackProgress": true,
    "IsFolderTrackProgress": true,
    "ParentStudentCourseMaterialId": 21
  },
  {
    "StudentCourseMaterialId": 1,
    "RegistrationId": 2,
    "IsPreviewRegistration": true,
    "IsPreview": true,
    "IsSubscriptionCenter": true,
    "CourseMaterialId": 6,
    "CourseMaterialFolderId": 7,
    "AvailableFrom": "2026-04-02T23:52:02.5338566-04:00",
    "AvailableTo": "2026-04-02T23:52:02.5338566-04:00",
    "VisibleToStudent": true,
    "LastWatchedInterval": 11,
    "LastVisitedOn": "2026-04-02T23:52:02.5338566-04:00",
    "LastVisitedPage": 13,
    "MaterialProgress": 14.1,
    "HasNotes": true,
    "IsBookMarked": true,
    "MaterialType": "sample string 17",
    "MaterialSequence": 18,
    "MaterialTypeInfo": {
      "CourseMaterialTypeId": 1,
      "ShortCode": "sample string 2",
      "GroupCode": "sample string 3",
      "Description": "sample string 4",
      "CssIconClass": "sample string 5",
      "IsEnabled": true,
      "EnableAllowDownload": true,
      "EnableAddWaterMark": true,
      "EnableNeedPayment": true,
      "EnablePreview": true,
      "EnableTrackProgress": true,
      "EnableAccessDuration": true,
      "EnableTimeDuration": true,
      "EnableStudentVisibility": true,
      "MaterialTypeName": "sample string 15"
    },
    "FolderInfo": {
      "CourseMaterialFolderId": 1,
      "EncrytedCourseMaterialFolderId": "sample string 2",
      "PeriodId": 3,
      "CourseId": 4,
      "CenterId": 5,
      "SubjectId": 6,
      "FolderName": "sample string 7",
      "ParentCourseMaterialFolderId": 8,
      "CreatedOn": "2026-04-02T23:52:02.5338566-04:00",
      "Sequence": 10,
      "TopicLevel": 11,
      "FolderProgress": 12.0
    },
    "MaterialInfo": {
      "CourseMaterialId": 1,
      "CourseMaterialFolderId": 2,
      "ShortCode": "sample string 3",
      "Description": "sample string 4",
      "MaterialSequence": 5,
      "TestGroupId": 6,
      "PracticePortalTestId": 7,
      "VideoId": "sample string 8",
      "FileId": "sample string 9",
      "CourseMaterialReferenceId": 10,
      "ItemIndex": 11,
      "Duration": 12,
      "AllowDownload": true,
      "MaterialAccess": true,
      "lastVisitedMaterialId": 15,
      "TrackProgress": true,
      "MaterialLevel": 17,
      "WaterMarkTextId": 18,
      "QuestionBankDirectories": [
        {
          "QuestionBankDirectoryId": 1,
          "MaterialId": 2,
          "DirectoryId": 3
        },
        {
          "QuestionBankDirectoryId": 1,
          "MaterialId": 2,
          "DirectoryId": 3
        }
      ],
      "OfflineAllowDownload": true
    },
    "TrackProgress": true,
    "IsFolderTrackProgress": true,
    "ParentStudentCourseMaterialId": 21
  }
]