POST DynamicTest/SubmitTestDetails
Request Information
URI Parameters
None.
Body Parameters
TestSubmission| Name | Description | Type | Additional information |
|---|---|---|---|
| OTSAP | OnlineTestStudentAssignmentPaper |
None. |
|
| OTSAPD | Collection of OnlineTestStudentAssignmentPaperDetails |
None. |
Request Formats
application/json, text/json
Sample:
{
"OTSAP": {
"OnlineStudentAssignmentPaperID": "sample string 1",
"DeviceUniqueID": "sample string 2",
"OnlineStudentAssignmentId": 3,
"TestPaperId": 4,
"AttemptNumber": 5,
"TotalMarks": 6.0,
"MarksObtained": 7.0,
"TotalQuestion": 8,
"SkipQuestionCount": 9,
"RightAnswerCount": 10,
"WrongAnswerCount": 11,
"AttemptedDate": "2026-07-27T15:34:58.9853067+05:30",
"CompletedDate": "2026-07-27T15:34:58.9853067+05:30",
"IsSolutionViewed": true,
"IsTestSubmitted": true,
"TestTime": 16,
"TotalTimeConsume": 17,
"AutoSubmit": true,
"ForcefulSubmit": true,
"QuestionSequence": "sample string 20"
},
"OTSAPD": [
{
"OnlineStudentAssignmentPaperID": "sample string 1",
"OnlineStudentAssignmentPaperDetailsID": "sample string 2",
"DeviceUniqueID": "sample string 3",
"PaperQuestionId": 4,
"PaperId": 5,
"PaperSectionId": 6,
"QuestionId": 7,
"StudentAnswer": "sample string 8",
"AnswerSelected": "sample string 9",
"timespent": 10,
"IsQuestionSkipped": true,
"AttemptedAnswer": true,
"IsAnsweredCorrect": true,
"QuestionMarks": 14.0,
"QuestionMarksObtained": 15.0,
"IsTextualSolnViewed": true,
"IsAVSolnViewed": true,
"IsTATSolnViewed": true,
"IsQuestonSubmitted": true,
"CorrectToIncorrect": 20,
"IncorrectToCorrect": 21,
"IncorrectToIncorrect": 22,
"CorrectToUnanswered": 23,
"InCorrectToUnanswered": 24,
"MarkforReview": true,
"AnsweredMarkedforReview": true,
"BonusMark": 27.0
},
{
"OnlineStudentAssignmentPaperID": "sample string 1",
"OnlineStudentAssignmentPaperDetailsID": "sample string 2",
"DeviceUniqueID": "sample string 3",
"PaperQuestionId": 4,
"PaperId": 5,
"PaperSectionId": 6,
"QuestionId": 7,
"StudentAnswer": "sample string 8",
"AnswerSelected": "sample string 9",
"timespent": 10,
"IsQuestionSkipped": true,
"AttemptedAnswer": true,
"IsAnsweredCorrect": true,
"QuestionMarks": 14.0,
"QuestionMarksObtained": 15.0,
"IsTextualSolnViewed": true,
"IsAVSolnViewed": true,
"IsTATSolnViewed": true,
"IsQuestonSubmitted": true,
"CorrectToIncorrect": 20,
"IncorrectToCorrect": 21,
"IncorrectToIncorrect": 22,
"CorrectToUnanswered": 23,
"InCorrectToUnanswered": 24,
"MarkforReview": true,
"AnsweredMarkedforReview": true,
"BonusMark": 27.0
}
]
}
application/xml, text/xml
Sample:
<DynamicTest.TestSubmission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
<OTSAP>
<AttemptNumber>5</AttemptNumber>
<AttemptedDate>2026-07-27T15:34:58.9853067+05:30</AttemptedDate>
<AutoSubmit>true</AutoSubmit>
<CompletedDate>2026-07-27T15:34:58.9853067+05:30</CompletedDate>
<DeviceUniqueID>sample string 2</DeviceUniqueID>
<ForcefulSubmit>true</ForcefulSubmit>
<IsSolutionViewed>true</IsSolutionViewed>
<IsTestSubmitted>true</IsTestSubmitted>
<MarksObtained>7</MarksObtained>
<OnlineStudentAssignmentId>3</OnlineStudentAssignmentId>
<OnlineStudentAssignmentPaperID>sample string 1</OnlineStudentAssignmentPaperID>
<QuestionSequence>sample string 20</QuestionSequence>
<RightAnswerCount>10</RightAnswerCount>
<SkipQuestionCount>9</SkipQuestionCount>
<TestPaperId>4</TestPaperId>
<TestTime>16</TestTime>
<TotalMarks>6</TotalMarks>
<TotalQuestion>8</TotalQuestion>
<TotalTimeConsume>17</TotalTimeConsume>
<WrongAnswerCount>11</WrongAnswerCount>
</OTSAP>
<OTSAPD>
<DynamicTest.OnlineTestStudentAssignmentPaperDetails>
<AnswerSelected>sample string 9</AnswerSelected>
<AnsweredMarkedforReview>true</AnsweredMarkedforReview>
<AttemptedAnswer>true</AttemptedAnswer>
<BonusMark>27</BonusMark>
<CorrectToIncorrect>20</CorrectToIncorrect>
<CorrectToUnanswered>23</CorrectToUnanswered>
<DeviceUniqueID>sample string 3</DeviceUniqueID>
<InCorrectToUnanswered>24</InCorrectToUnanswered>
<IncorrectToCorrect>21</IncorrectToCorrect>
<IncorrectToIncorrect>22</IncorrectToIncorrect>
<IsAVSolnViewed>true</IsAVSolnViewed>
<IsAnsweredCorrect>true</IsAnsweredCorrect>
<IsQuestionSkipped>true</IsQuestionSkipped>
<IsQuestonSubmitted>true</IsQuestonSubmitted>
<IsTATSolnViewed>true</IsTATSolnViewed>
<IsTextualSolnViewed>true</IsTextualSolnViewed>
<MarkforReview>true</MarkforReview>
<OnlineStudentAssignmentPaperDetailsID>sample string 2</OnlineStudentAssignmentPaperDetailsID>
<OnlineStudentAssignmentPaperID>sample string 1</OnlineStudentAssignmentPaperID>
<PaperId>5</PaperId>
<PaperQuestionId>4</PaperQuestionId>
<PaperSectionId>6</PaperSectionId>
<QuestionId>7</QuestionId>
<QuestionMarks>14</QuestionMarks>
<QuestionMarksObtained>15</QuestionMarksObtained>
<StudentAnswer>sample string 8</StudentAnswer>
<timespent>10</timespent>
</DynamicTest.OnlineTestStudentAssignmentPaperDetails>
<DynamicTest.OnlineTestStudentAssignmentPaperDetails>
<AnswerSelected>sample string 9</AnswerSelected>
<AnsweredMarkedforReview>true</AnsweredMarkedforReview>
<AttemptedAnswer>true</AttemptedAnswer>
<BonusMark>27</BonusMark>
<CorrectToIncorrect>20</CorrectToIncorrect>
<CorrectToUnanswered>23</CorrectToUnanswered>
<DeviceUniqueID>sample string 3</DeviceUniqueID>
<InCorrectToUnanswered>24</InCorrectToUnanswered>
<IncorrectToCorrect>21</IncorrectToCorrect>
<IncorrectToIncorrect>22</IncorrectToIncorrect>
<IsAVSolnViewed>true</IsAVSolnViewed>
<IsAnsweredCorrect>true</IsAnsweredCorrect>
<IsQuestionSkipped>true</IsQuestionSkipped>
<IsQuestonSubmitted>true</IsQuestonSubmitted>
<IsTATSolnViewed>true</IsTATSolnViewed>
<IsTextualSolnViewed>true</IsTextualSolnViewed>
<MarkforReview>true</MarkforReview>
<OnlineStudentAssignmentPaperDetailsID>sample string 2</OnlineStudentAssignmentPaperDetailsID>
<OnlineStudentAssignmentPaperID>sample string 1</OnlineStudentAssignmentPaperID>
<PaperId>5</PaperId>
<PaperQuestionId>4</PaperQuestionId>
<PaperSectionId>6</PaperSectionId>
<QuestionId>7</QuestionId>
<QuestionMarks>14</QuestionMarks>
<QuestionMarksObtained>15</QuestionMarksObtained>
<StudentAnswer>sample string 8</StudentAnswer>
<timespent>10</timespent>
</DynamicTest.OnlineTestStudentAssignmentPaperDetails>
</OTSAPD>
</DynamicTest.TestSubmission>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |