POST api/{version}/StudyHub2/SyncStudentActivityToIMS

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

Collection of TrackTimeSpentCreateDto
NameDescriptionTypeAdditional information
Id

integer

None.

StudentEnrollmentId

integer

None.

StudentCourseMaterialId

integer

None.

SubjectId

integer

None.

CourseMaterialFolderId

integer

None.

SpentDuration

integer

None.

ScreenName

string

None.

ActivityType

string

None.

TrackStartTime

date

None.

TrackEndTime

date

None.

IsOfflineTrack

boolean

None.

Comments

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "StudentEnrollmentId": 2,
    "StudentCourseMaterialId": 3,
    "SubjectId": 4,
    "CourseMaterialFolderId": 5,
    "SpentDuration": 6,
    "ScreenName": "sample string 7",
    "ActivityType": "sample string 8",
    "TrackStartTime": "2026-04-02T23:45:19.1819092-04:00",
    "TrackEndTime": "2026-04-02T23:45:19.1819092-04:00",
    "IsOfflineTrack": true,
    "Comments": "sample string 12",
    "IsDeleted": true
  },
  {
    "Id": 1,
    "StudentEnrollmentId": 2,
    "StudentCourseMaterialId": 3,
    "SubjectId": 4,
    "CourseMaterialFolderId": 5,
    "SpentDuration": 6,
    "ScreenName": "sample string 7",
    "ActivityType": "sample string 8",
    "TrackStartTime": "2026-04-02T23:45:19.1819092-04:00",
    "TrackEndTime": "2026-04-02T23:45:19.1819092-04:00",
    "IsOfflineTrack": true,
    "Comments": "sample string 12",
    "IsDeleted": 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 'List`1'.

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": {}
}