POST api/CorrectEssayQuestion

Request Information

URI Parameters

None.

Body Parameters

StudentAnswer
NameDescriptionTypeAdditional information
Id

integer

None.

StudentExamId

integer

None.

ExamQuestionId

integer

None.

ExamQuestionTypeId

integer

None.

ExamQuestion

ExamQuestion

None.

ExamAnswerId

integer

None.

ExamAnswer

ExamAnswer

None.

Degree

decimal number

None.

AnswerText

string

None.

TeacherCorrectance

string

None.

VoicePath

string

None.

Duration

integer

None.

IsTrue

boolean

None.

CreationDate

date

None.

PdfAnswerPath

string

None.

Corrected

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StudentExamId": 1,
  "ExamQuestionId": 1,
  "ExamQuestionTypeId": 1,
  "ExamQuestion": {
    "Id": 1,
    "Title": "sample string 2",
    "Image": "sample string 3",
    "OrderNumber": 1,
    "ExamQuestionTypeId": 1,
    "ExamId": 1,
    "Degree": 1.1,
    "FilePath": "sample string 4",
    "IdealAnswerFilePath": "sample string 5",
    "ExamAnswers": [
      {
        "Id": 1,
        "ExamQuestionId": 1,
        "Answer": "sample string 2",
        "IsTrue": true
      },
      {
        "Id": 1,
        "ExamQuestionId": 1,
        "Answer": "sample string 2",
        "IsTrue": true
      }
    ]
  },
  "ExamAnswerId": 1,
  "ExamAnswer": {
    "Id": 1,
    "ExamQuestionId": 1,
    "Answer": "sample string 2",
    "IsTrue": true
  },
  "Degree": 1.1,
  "AnswerText": "sample string 2",
  "TeacherCorrectance": "sample string 3",
  "VoicePath": "sample string 4",
  "Duration": 1,
  "IsTrue": true,
  "CreationDate": "2025-12-11T18:54:25.7347566+00:00",
  "PdfAnswerPath": "sample string 5",
  "Corrected": true
}

application/xml, text/xml

Sample:
<StudentAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities">
  <AnswerText>sample string 2</AnswerText>
  <Corrected>true</Corrected>
  <CreationDate>2025-12-11T18:54:25.7347566+00:00</CreationDate>
  <Degree>1.1</Degree>
  <Duration>1</Duration>
  <ExamAnswer>
    <Answer>sample string 2</Answer>
    <ExamQuestionId>1</ExamQuestionId>
    <Id>1</Id>
    <IsTrue>true</IsTrue>
  </ExamAnswer>
  <ExamAnswerId>1</ExamAnswerId>
  <ExamQuestion>
    <Degree>1.1</Degree>
    <ExamAnswers>
      <ExamAnswer>
        <Answer>sample string 2</Answer>
        <ExamQuestionId>1</ExamQuestionId>
        <Id>1</Id>
        <IsTrue>true</IsTrue>
      </ExamAnswer>
      <ExamAnswer>
        <Answer>sample string 2</Answer>
        <ExamQuestionId>1</ExamQuestionId>
        <Id>1</Id>
        <IsTrue>true</IsTrue>
      </ExamAnswer>
    </ExamAnswers>
    <ExamId>1</ExamId>
    <ExamQuestionTypeId>1</ExamQuestionTypeId>
    <FilePath>sample string 4</FilePath>
    <Id>1</Id>
    <IdealAnswerFilePath>sample string 5</IdealAnswerFilePath>
    <Image>sample string 3</Image>
    <OrderNumber>1</OrderNumber>
    <Title>sample string 2</Title>
  </ExamQuestion>
  <ExamQuestionId>1</ExamQuestionId>
  <ExamQuestionTypeId>1</ExamQuestionTypeId>
  <Id>1</Id>
  <IsTrue>true</IsTrue>
  <PdfAnswerPath>sample string 5</PdfAnswerPath>
  <StudentExamId>1</StudentExamId>
  <TeacherCorrectance>sample string 3</TeacherCorrectance>
  <VoicePath>sample string 4</VoicePath>
</StudentAnswer>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.