POST api/StudentCourseMaterial/AddAnnotation

Used to add anotations

Request Information

URI Parameters

None.

Body Parameters

CourseMaterialAnnotations
NameDescriptionTypeAdditional information
StudentCourseMaterialId

integer

None.

LastSeenPageNo

integer

None.

AnnotationXML

string

None.

CompletedStatus

boolean

None.

WatchedDuration

integer

None.

StudentDocumentsTrackId

integer

None.

IsDownloaded

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentCourseMaterialId": 1,
  "LastSeenPageNo": 2,
  "AnnotationXML": "sample string 3",
  "CompletedStatus": true,
  "WatchedDuration": 5,
  "StudentDocumentsTrackId": 6,
  "IsDownloaded": 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 'CourseMaterialAnnotations'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
12345

text/xml

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