POST api/SubmitQuiz
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
QuizViewModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "OnlineTestID": 1, "OnlineTestNo": 2, "TestName": "sample string 3", "TestDuration": "sample string 4", "Instructions": "sample string 5", "TestSeriesID": 6, "TestSeries": "sample string 7", "TestTypeID": 8, "TestType": "sample string 9", "TotalMarks": "sample string 10", "PassingPercentage": "sample string 11", "Questions": [ { "QuestionID": 1, "QuestionTypeID": 2, "TestQuestionNo": "sample string 3", "Image_English": "sample string 4", "Image_Hindi": "sample string 5", "StudentAnswer": "sample string 6", "CorrectAnswer": "sample string 7", "Options": [ { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true } ], "QuestionType": { "QuestionTypeID": 1, "QuestionType": "sample string 2", "QuestionTypeInstructionImage": "sample string 3" }, "SubjectID": 8, "Subject": "sample string 9", "IsDefaultQuestion": true }, { "QuestionID": 1, "QuestionTypeID": 2, "TestQuestionNo": "sample string 3", "Image_English": "sample string 4", "Image_Hindi": "sample string 5", "StudentAnswer": "sample string 6", "CorrectAnswer": "sample string 7", "Options": [ { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true } ], "QuestionType": { "QuestionTypeID": 1, "QuestionType": "sample string 2", "QuestionTypeInstructionImage": "sample string 3" }, "SubjectID": 8, "Subject": "sample string 9", "IsDefaultQuestion": true }, { "QuestionID": 1, "QuestionTypeID": 2, "TestQuestionNo": "sample string 3", "Image_English": "sample string 4", "Image_Hindi": "sample string 5", "StudentAnswer": "sample string 6", "CorrectAnswer": "sample string 7", "Options": [ { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true }, { "OptionID": 1, "QuestionID": 2, "Option": "sample string 3", "IsAnswer": true, "Selected": true } ], "QuestionType": { "QuestionTypeID": 1, "QuestionType": "sample string 2", "QuestionTypeInstructionImage": "sample string 3" }, "SubjectID": 8, "Subject": "sample string 9", "IsDefaultQuestion": true } ], "StudentID": 12, "PhysicsQuestionCount": 13, "ChemistryQuestionCount": 14, "BiologyQuestionCount": 15, "AptitudeQuestionCount": 16, "MathsQuestionCount": 17 }
text/html
Sample:
{"OnlineTestID":1,"OnlineTestNo":2,"TestName":"sample string 3","TestDuration":"sample string 4","Instructions":"sample string 5","TestSeriesID":6,"TestSeries":"sample string 7","TestTypeID":8,"TestType":"sample string 9","TotalMarks":"sample string 10","PassingPercentage":"sample string 11","Questions":[{"QuestionID":1,"QuestionTypeID":2,"TestQuestionNo":"sample string 3","Image_English":"sample string 4","Image_Hindi":"sample string 5","StudentAnswer":"sample string 6","CorrectAnswer":"sample string 7","Options":[{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true}],"QuestionType":{"QuestionTypeID":1,"QuestionType":"sample string 2","QuestionTypeInstructionImage":"sample string 3"},"SubjectID":8,"Subject":"sample string 9","IsDefaultQuestion":true},{"QuestionID":1,"QuestionTypeID":2,"TestQuestionNo":"sample string 3","Image_English":"sample string 4","Image_Hindi":"sample string 5","StudentAnswer":"sample string 6","CorrectAnswer":"sample string 7","Options":[{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true}],"QuestionType":{"QuestionTypeID":1,"QuestionType":"sample string 2","QuestionTypeInstructionImage":"sample string 3"},"SubjectID":8,"Subject":"sample string 9","IsDefaultQuestion":true},{"QuestionID":1,"QuestionTypeID":2,"TestQuestionNo":"sample string 3","Image_English":"sample string 4","Image_Hindi":"sample string 5","StudentAnswer":"sample string 6","CorrectAnswer":"sample string 7","Options":[{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true},{"OptionID":1,"QuestionID":2,"Option":"sample string 3","IsAnswer":true,"Selected":true}],"QuestionType":{"QuestionTypeID":1,"QuestionType":"sample string 2","QuestionTypeInstructionImage":"sample string 3"},"SubjectID":8,"Subject":"sample string 9","IsDefaultQuestion":true}],"StudentID":12,"PhysicsQuestionCount":13,"ChemistryQuestionCount":14,"BiologyQuestionCount":15,"AptitudeQuestionCount":16,"MathsQuestionCount":17}
application/xml, text/xml
Sample:
<QuizViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Test"> <AptitudeQuestionCount>16</AptitudeQuestionCount> <BiologyQuestionCount>15</BiologyQuestionCount> <ChemistryQuestionCount>14</ChemistryQuestionCount> <Instructions>sample string 5</Instructions> <MathsQuestionCount>17</MathsQuestionCount> <OnlineTestID>1</OnlineTestID> <OnlineTestNo>2</OnlineTestNo> <PassingPercentage>sample string 11</PassingPercentage> <PhysicsQuestionCount>13</PhysicsQuestionCount> <Questions xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModels.Question"> <d2p1:QuestionViewModel> <d2p1:CorrectAnswer>sample string 7</d2p1:CorrectAnswer> <d2p1:Image_English>sample string 4</d2p1:Image_English> <d2p1:Image_Hindi>sample string 5</d2p1:Image_Hindi> <d2p1:IsDefaultQuestion>true</d2p1:IsDefaultQuestion> <d2p1:Options> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> </d2p1:Options> <d2p1:QuestionID>1</d2p1:QuestionID> <d2p1:QuestionType> <d2p1:QuestionType>sample string 2</d2p1:QuestionType> <d2p1:QuestionTypeID>1</d2p1:QuestionTypeID> <d2p1:QuestionTypeInstructionImage>sample string 3</d2p1:QuestionTypeInstructionImage> </d2p1:QuestionType> <d2p1:QuestionTypeID>2</d2p1:QuestionTypeID> <d2p1:StudentAnswer>sample string 6</d2p1:StudentAnswer> <d2p1:Subject>sample string 9</d2p1:Subject> <d2p1:SubjectID>8</d2p1:SubjectID> <d2p1:TestQuestionNo>sample string 3</d2p1:TestQuestionNo> </d2p1:QuestionViewModel> <d2p1:QuestionViewModel> <d2p1:CorrectAnswer>sample string 7</d2p1:CorrectAnswer> <d2p1:Image_English>sample string 4</d2p1:Image_English> <d2p1:Image_Hindi>sample string 5</d2p1:Image_Hindi> <d2p1:IsDefaultQuestion>true</d2p1:IsDefaultQuestion> <d2p1:Options> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> </d2p1:Options> <d2p1:QuestionID>1</d2p1:QuestionID> <d2p1:QuestionType> <d2p1:QuestionType>sample string 2</d2p1:QuestionType> <d2p1:QuestionTypeID>1</d2p1:QuestionTypeID> <d2p1:QuestionTypeInstructionImage>sample string 3</d2p1:QuestionTypeInstructionImage> </d2p1:QuestionType> <d2p1:QuestionTypeID>2</d2p1:QuestionTypeID> <d2p1:StudentAnswer>sample string 6</d2p1:StudentAnswer> <d2p1:Subject>sample string 9</d2p1:Subject> <d2p1:SubjectID>8</d2p1:SubjectID> <d2p1:TestQuestionNo>sample string 3</d2p1:TestQuestionNo> </d2p1:QuestionViewModel> <d2p1:QuestionViewModel> <d2p1:CorrectAnswer>sample string 7</d2p1:CorrectAnswer> <d2p1:Image_English>sample string 4</d2p1:Image_English> <d2p1:Image_Hindi>sample string 5</d2p1:Image_Hindi> <d2p1:IsDefaultQuestion>true</d2p1:IsDefaultQuestion> <d2p1:Options> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> <d2p1:OptionViewModel> <d2p1:IsAnswer>true</d2p1:IsAnswer> <d2p1:Option>sample string 3</d2p1:Option> <d2p1:OptionID>1</d2p1:OptionID> <d2p1:QuestionID>2</d2p1:QuestionID> <d2p1:Selected>true</d2p1:Selected> </d2p1:OptionViewModel> </d2p1:Options> <d2p1:QuestionID>1</d2p1:QuestionID> <d2p1:QuestionType> <d2p1:QuestionType>sample string 2</d2p1:QuestionType> <d2p1:QuestionTypeID>1</d2p1:QuestionTypeID> <d2p1:QuestionTypeInstructionImage>sample string 3</d2p1:QuestionTypeInstructionImage> </d2p1:QuestionType> <d2p1:QuestionTypeID>2</d2p1:QuestionTypeID> <d2p1:StudentAnswer>sample string 6</d2p1:StudentAnswer> <d2p1:Subject>sample string 9</d2p1:Subject> <d2p1:SubjectID>8</d2p1:SubjectID> <d2p1:TestQuestionNo>sample string 3</d2p1:TestQuestionNo> </d2p1:QuestionViewModel> </Questions> <StudentID>12</StudentID> <TestDuration>sample string 4</TestDuration> <TestName>sample string 3</TestName> <TestSeries>sample string 7</TestSeries> <TestSeriesID>6</TestSeriesID> <TestType>sample string 9</TestType> <TestTypeID>8</TestTypeID> <TotalMarks>sample string 10</TotalMarks> </QuizViewModel>
application/x-www-form-urlencoded
Sample: