POST api/ContentService/CreateUpdateLessonAnnotation?clientId={clientId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

string

Required

Body Parameters

LessonAnnotationDto
NameDescriptionTypeAdditional information
AnnotationId

string

None.

UserId

string

None.

LearnKey

string

None.

FacilityCode

string

None.

Title

string

None.

AnnotationText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AnnotationId": "sample string 1",
  "UserId": "sample string 2",
  "LearnKey": "sample string 3",
  "FacilityCode": "sample string 4",
  "Title": "sample string 5",
  "AnnotationText": "sample string 6"
}

application/xml, text/xml

Sample:
<LessonAnnotationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELS.LMS.ApplicationService.Common.Dto">
  <AnnotationId>sample string 1</AnnotationId>
  <AnnotationText>sample string 6</AnnotationText>
  <FacilityCode>sample string 4</FacilityCode>
  <LearnKey>sample string 3</LearnKey>
  <Title>sample string 5</Title>
  <UserId>sample string 2</UserId>
</LessonAnnotationDto>

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 'LessonAnnotationDto'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.