POST api/{version}/StudentCourseStudyPlan/InsertOrUpdateStudyPlanOfflineDuration
Used to insert or update the study plan offline duration
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
Collection of StudentActivityTracking| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentActivityTrackingId |
which will be used to identify the tracking based on student, will be 0 when visiting a page and while updating the activity we need to send |
integer |
None. |
| StudentId |
Gets or sets the |
integer |
None. |
| RegistrationId |
which will be used to identify the tracking based on registration,need to send only when accessing course related pages |
integer |
None. |
| StudentProductId |
this column will be helpful for tracking the produt activity |
integer |
None. |
| ScreenName |
the name of the screeen where the tracking has been done |
string |
None. |
| Activitytype |
whether it is a miscelenous or notes, video or quiz |
string |
None. |
| CourseMaterialFolderId |
having the folderid which is the refrence of the topic |
integer |
None. |
| StudentCourseMaterialId |
to have the track for each materialid |
integer |
None. |
| TrackedDate |
Gets or sets the tracked date |
date |
None. |
| TrackStartTime |
Gets or sets the Track start time |
date |
None. |
| TrackEndTime |
Gets or sets the Track End time |
date |
None. |
| SpentDuration |
Gets or sets the Spent hours |
integer |
None. |
| decSpentDuration |
Gets or sets the spent hours in decimal |
decimal number |
None. |
| SubjectId |
Gets or sets the subject Id |
integer |
None. |
| SubjectName |
Gets or sets the subject name |
string |
None. |
| Comments |
Gets or sets the comments |
string |
None. |
| IsOfflineTrack |
Gets or sets is offline track |
boolean |
None. |
| StudentName |
Gets or sets the |
string |
None. |
| EmailAddress |
Gets or sets the |
string |
None. |
| IsSessionExpired |
Gets or Sets the session expired or not |
boolean |
None. |
Request Formats
application/json, text/json
[
{
"StudentActivityTrackingId": 1,
"StudentId": 2,
"RegistrationId": 1,
"StudentProductId": 1,
"ScreenName": "sample string 3",
"Activitytype": "sample string 4",
"CourseMaterialFolderId": 1,
"StudentCourseMaterialId": 1,
"TrackedDate": "2026-04-02T23:43:53.5920364-04:00",
"TrackStartTime": "2026-04-02T23:43:53.5920364-04:00",
"TrackEndTime": "2026-04-02T23:43:53.5920364-04:00",
"SpentDuration": 1,
"decSpentDuration": 5.0,
"SubjectId": 1,
"SubjectName": "sample string 6",
"Comments": "sample string 7",
"IsOfflineTrack": true,
"StudentName": "sample string 9",
"EmailAddress": "sample string 10",
"IsSessionExpired": true
},
{
"StudentActivityTrackingId": 1,
"StudentId": 2,
"RegistrationId": 1,
"StudentProductId": 1,
"ScreenName": "sample string 3",
"Activitytype": "sample string 4",
"CourseMaterialFolderId": 1,
"StudentCourseMaterialId": 1,
"TrackedDate": "2026-04-02T23:43:53.5920364-04:00",
"TrackStartTime": "2026-04-02T23:43:53.5920364-04:00",
"TrackEndTime": "2026-04-02T23:43:53.5920364-04:00",
"SpentDuration": 1,
"decSpentDuration": 5.0,
"SubjectId": 1,
"SubjectName": "sample string 6",
"Comments": "sample string 7",
"IsOfflineTrack": true,
"StudentName": "sample string 9",
"EmailAddress": "sample string 10",
"IsSessionExpired": true
}
]
application/x-www-form-urlencoded
Response Information
Resource Description
integerResponse Formats
application/json, text/json
12345
text/xml
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">12345</int>