POST OfflineDTSetup/SyncPaper
Request Information
URI Parameters
None.
Body Parameters
AssignmentPaperSyncData| Name | Description | Type | Additional information |
|---|---|---|---|
| OTSAP | Collection of NOnlineteststudentassignmentpaper |
None. |
Request Formats
application/json, text/json
Sample:
{
"OTSAP": [
{
"OnlineStudentAssignmentPaperId": 1,
"OnlineStudentAssignmentId": 2,
"TestPaperId": 3,
"AttemptNumber": 1,
"TotalMarks": 1.0,
"MarksObtained": 1.0,
"TotalQuestion": 1,
"SkipQuestionCount": 1,
"RightAnswerCount": 1,
"WrongAnswerCount": 1,
"AttemptedDate": "2026-07-27T15:39:31.9682585+05:30",
"CompletedDate": "2026-07-27T15:39:31.9682585+05:30",
"IsSolutionViewed": true,
"IsTestSubmitted": true,
"TestTime": 1,
"TotalTimeConsume": 1,
"CreatedOn": "2026-07-27T15:39:31.9682585+05:30",
"CreatedBy": "sample string 5",
"ModifiedOn": "2026-07-27T15:39:31.9682585+05:30",
"ModifiedBy": "sample string 6",
"IsDeleted": true,
"DeviceUniqueID": "sample string 8",
"AutoSubmit": true,
"ForcefulSubmit": true,
"QuestionSequence": "sample string 9"
},
{
"OnlineStudentAssignmentPaperId": 1,
"OnlineStudentAssignmentId": 2,
"TestPaperId": 3,
"AttemptNumber": 1,
"TotalMarks": 1.0,
"MarksObtained": 1.0,
"TotalQuestion": 1,
"SkipQuestionCount": 1,
"RightAnswerCount": 1,
"WrongAnswerCount": 1,
"AttemptedDate": "2026-07-27T15:39:31.9682585+05:30",
"CompletedDate": "2026-07-27T15:39:31.9682585+05:30",
"IsSolutionViewed": true,
"IsTestSubmitted": true,
"TestTime": 1,
"TotalTimeConsume": 1,
"CreatedOn": "2026-07-27T15:39:31.9682585+05:30",
"CreatedBy": "sample string 5",
"ModifiedOn": "2026-07-27T15:39:31.9682585+05:30",
"ModifiedBy": "sample string 6",
"IsDeleted": true,
"DeviceUniqueID": "sample string 8",
"AutoSubmit": true,
"ForcefulSubmit": true,
"QuestionSequence": "sample string 9"
}
]
}
application/xml, text/xml
Sample:
<OfflineDTSetupEntity.AssignmentPaperSyncData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
<OTSAP>
<OfflineDTSetupEntity.NOnlineteststudentassignmentpaper>
<AttemptNumber>1</AttemptNumber>
<AttemptedDate>2026-07-27T15:39:31.9682585+05:30</AttemptedDate>
<AutoSubmit>true</AutoSubmit>
<CompletedDate>2026-07-27T15:39:31.9682585+05:30</CompletedDate>
<CreatedBy>sample string 5</CreatedBy>
<CreatedOn>2026-07-27T15:39:31.9682585+05:30</CreatedOn>
<DeviceUniqueID>sample string 8</DeviceUniqueID>
<ForcefulSubmit>true</ForcefulSubmit>
<IsDeleted>true</IsDeleted>
<IsSolutionViewed>true</IsSolutionViewed>
<IsTestSubmitted>true</IsTestSubmitted>
<MarksObtained>1</MarksObtained>
<ModifiedBy>sample string 6</ModifiedBy>
<ModifiedOn>2026-07-27T15:39:31.9682585+05:30</ModifiedOn>
<OnlineStudentAssignmentId>2</OnlineStudentAssignmentId>
<OnlineStudentAssignmentPaperId>1</OnlineStudentAssignmentPaperId>
<QuestionSequence>sample string 9</QuestionSequence>
<RightAnswerCount>1</RightAnswerCount>
<SkipQuestionCount>1</SkipQuestionCount>
<TestPaperId>3</TestPaperId>
<TestTime>1</TestTime>
<TotalMarks>1</TotalMarks>
<TotalQuestion>1</TotalQuestion>
<TotalTimeConsume>1</TotalTimeConsume>
<WrongAnswerCount>1</WrongAnswerCount>
</OfflineDTSetupEntity.NOnlineteststudentassignmentpaper>
<OfflineDTSetupEntity.NOnlineteststudentassignmentpaper>
<AttemptNumber>1</AttemptNumber>
<AttemptedDate>2026-07-27T15:39:31.9682585+05:30</AttemptedDate>
<AutoSubmit>true</AutoSubmit>
<CompletedDate>2026-07-27T15:39:31.9682585+05:30</CompletedDate>
<CreatedBy>sample string 5</CreatedBy>
<CreatedOn>2026-07-27T15:39:31.9682585+05:30</CreatedOn>
<DeviceUniqueID>sample string 8</DeviceUniqueID>
<ForcefulSubmit>true</ForcefulSubmit>
<IsDeleted>true</IsDeleted>
<IsSolutionViewed>true</IsSolutionViewed>
<IsTestSubmitted>true</IsTestSubmitted>
<MarksObtained>1</MarksObtained>
<ModifiedBy>sample string 6</ModifiedBy>
<ModifiedOn>2026-07-27T15:39:31.9682585+05:30</ModifiedOn>
<OnlineStudentAssignmentId>2</OnlineStudentAssignmentId>
<OnlineStudentAssignmentPaperId>1</OnlineStudentAssignmentPaperId>
<QuestionSequence>sample string 9</QuestionSequence>
<RightAnswerCount>1</RightAnswerCount>
<SkipQuestionCount>1</SkipQuestionCount>
<TestPaperId>3</TestPaperId>
<TestTime>1</TestTime>
<TotalMarks>1</TotalMarks>
<TotalQuestion>1</TotalQuestion>
<TotalTimeConsume>1</TotalTimeConsume>
<WrongAnswerCount>1</WrongAnswerCount>
</OfflineDTSetupEntity.NOnlineteststudentassignmentpaper>
</OTSAP>
</OfflineDTSetupEntity.AssignmentPaperSyncData>
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. |