POST api/eLearningAssessmentTestApi/SubmitMarks

Request Information

URI Parameters

None.

Body Parameters

eLearningAssessmentStudentAnswerMarksViewModel
NameDescriptionTypeAdditional information
StudentsAnswerMarksList

Collection of eLearningAssessmentStudentAnswerMark

None.

ObtainedMarks

decimal number

None.

PId

decimal number

None.

CreatedBy

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentsAnswerMarksList": [
    {
      "Id": 1.0,
      "PId": 1.0,
      "QuestionId": 1.0,
      "Marks": 1.1,
      "IsDeleted": true,
      "CreatedDate": "2024-06-29T16:16:15.5580598+05:00",
      "CreatedBy": 1.0
    },
    {
      "Id": 1.0,
      "PId": 1.0,
      "QuestionId": 1.0,
      "Marks": 1.1,
      "IsDeleted": true,
      "CreatedDate": "2024-06-29T16:16:15.5580598+05:00",
      "CreatedBy": 1.0
    }
  ],
  "ObtainedMarks": 1.1,
  "PId": 2.0,
  "CreatedBy": 3.0
}

application/xml, text/xml

Sample:
<eLearningAssessmentStudentAnswerMarksViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels">
  <CreatedBy>3</CreatedBy>
  <ObtainedMarks>1.1</ObtainedMarks>
  <PId>2</PId>
  <StudentsAnswerMarksList>
    <eLearningAssessmentStudentAnswerMark>
      <CreatedBy>1</CreatedBy>
      <CreatedDate>2024-06-29T16:16:15.5580598+05:00</CreatedDate>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Marks>1.1</Marks>
      <PId>1</PId>
      <QuestionId>1</QuestionId>
    </eLearningAssessmentStudentAnswerMark>
    <eLearningAssessmentStudentAnswerMark>
      <CreatedBy>1</CreatedBy>
      <CreatedDate>2024-06-29T16:16:15.5580598+05:00</CreatedDate>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <Marks>1.1</Marks>
      <PId>1</PId>
      <QuestionId>1</QuestionId>
    </eLearningAssessmentStudentAnswerMark>
  </StudentsAnswerMarksList>
</eLearningAssessmentStudentAnswerMarksViewModel>

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.