POST api/{version}/StudentCourseMaterial/UpdateAnnotation

Used to Update Annotations.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

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

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

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