POST api/StudentMarks

Request Information

URI Parameters

None.

Body Parameters

StudentMarks
NameDescriptionTypeAdditional information
id

integer

Required

chapterId

integer

Required

chapterName

string

None.

lessonId

integer

Required

topicId

integer

Required

topicName

string

None.

studentId

integer

Required

marks

integer

Required

courseId

integer

Required

createdAt

string

Required

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "chapterId": 2,
  "chapterName": "sample string 3",
  "lessonId": 4,
  "topicId": 5,
  "topicName": "sample string 6",
  "studentId": 7,
  "marks": 8,
  "courseId": 9,
  "createdAt": "sample string 10"
}

application/xml, text/xml

Sample:
<StudentMarks xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cos_webapi.Models.CourseModule">
  <chapterId>2</chapterId>
  <chapterName>sample string 3</chapterName>
  <courseId>9</courseId>
  <createdAt>sample string 10</createdAt>
  <id>1</id>
  <lessonId>4</lessonId>
  <marks>8</marks>
  <studentId>7</studentId>
  <topicId>5</topicId>
  <topicName>sample string 6</topicName>
</StudentMarks>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.