POST api/AssignPaper/AssignPaperToStudent
Request Information
URI Parameters
None.
Body Parameters
AssignPaperModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | integer |
None. |
|
| ExamID | integer |
None. |
|
| ScheduleID | integer |
None. |
|
| ExamAssignmentID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentID": 1,
"ExamID": 2,
"ScheduleID": 3,
"ExamAssignmentID": 4
}
application/xml, text/xml
Sample:
<AssignPaperModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EklavvyaWebAPI.Models"> <ExamAssignmentID>4</ExamAssignmentID> <ExamID>2</ExamID> <ScheduleID>3</ScheduleID> <StudentID>1</StudentID> </AssignPaperModel>
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>