POST GradePreAssesment

Request Information

URI Parameters

None.

Body Parameters

Collection of StudentResponseDto
NameDescriptionTypeAdditional information
ApplicantID

integer

None.

QuestionID

integer

None.

Question

string

None.

studentAnswer

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ApplicantID": 1,
    "QuestionID": 2,
    "Question": "sample string 3",
    "studentAnswer": "sample string 4"
  },
  {
    "ApplicantID": 1,
    "QuestionID": 2,
    "Question": "sample string 3",
    "studentAnswer": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStudentResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKCT.dto">
  <StudentResponseDto>
    <ApplicantID>1</ApplicantID>
    <Question>sample string 3</Question>
    <QuestionID>2</QuestionID>
    <studentAnswer>sample string 4</studentAnswer>
  </StudentResponseDto>
  <StudentResponseDto>
    <ApplicantID>1</ApplicantID>
    <Question>sample string 3</Question>
    <QuestionID>2</QuestionID>
    <studentAnswer>sample string 4</studentAnswer>
  </StudentResponseDto>
</ArrayOfStudentResponseDto>

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 'List`1'.

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.