POST api/StudentSecondPartAnswers

Create a new student answer

Request Information

URI Parameters

None.

Body Parameters

StudentSecondPartAnswerEntity
NameDescriptionTypeAdditional information
Id

integer

None.

StudentTestId

integer

None.

QuestionId

integer

None.

SecondPartQuestionId

integer

None.

SecondPartAnswerId

integer

None.

IsCorrect

boolean

None.

PointsPossible

decimal number

None.

PointsEarned

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "studentTestId": 2,
  "questionId": 3,
  "secondPartQuestionId": 4,
  "secondPartAnswerId": 5,
  "isCorrect": true,
  "pointsPossible": 7.0,
  "pointsEarned": 8.0
}

application/xml, text/xml

Sample:
<StudentSecondPartAnswerEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OHS.TLMClassroomResponder.BusinessEntity">
  <Id>1</Id>
  <IsCorrect>true</IsCorrect>
  <PointsEarned>8</PointsEarned>
  <PointsPossible>7</PointsPossible>
  <QuestionId>3</QuestionId>
  <SecondPartAnswerId>5</SecondPartAnswerId>
  <SecondPartQuestionId>4</SecondPartQuestionId>
  <StudentTestId>2</StudentTestId>
</StudentSecondPartAnswerEntity>

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.