POST api/eLearningAssessmentTestApi/SubmitStudentAnswer
Request Information
URI Parameters
None.
Body Parameters
eLearningAssessmentStudentAnswerChildViewModelName | Description | Type | Additional information |
---|---|---|---|
QuestionId | decimal number |
None. |
|
Answers | Collection of string |
None. |
|
PId | decimal number |
None. |
|
QuestionType | string |
None. |
|
StudentAnswerOrderTempId | decimal number |
None. |
|
TestInfoId | string |
None. |
|
RemainingTime | string |
None. |
|
IsLastQuestion | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "QuestionId": 1.0, "Answers": [ "sample string 1", "sample string 2" ], "PId": 2.0, "QuestionType": "sample string 3", "StudentAnswerOrderTempId": 4.0, "TestInfoId": "sample string 5", "RemainingTime": "sample string 6", "IsLastQuestion": true }
application/xml, text/xml
Sample:
<eLearningAssessmentStudentAnswerChildViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModels"> <Answers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Answers> <IsLastQuestion>true</IsLastQuestion> <PId>2</PId> <QuestionId>1</QuestionId> <QuestionType>sample string 3</QuestionType> <RemainingTime>sample string 6</RemainingTime> <StudentAnswerOrderTempId>4</StudentAnswerOrderTempId> <TestInfoId>sample string 5</TestInfoId> </eLearningAssessmentStudentAnswerChildViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>