POST api/assignment/submit
Request Information
URI Parameters
None.
Body Parameters
SubmitAssignmentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AssignmentId | integer |
None. |
|
| StudentId | integer |
None. |
|
| ClassId | string |
None. |
|
| SectionId | integer |
None. |
|
| WorkFilePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssignmentId": 1,
"StudentId": 2,
"ClassId": "sample string 3",
"SectionId": 4,
"WorkFilePath": "sample string 5"
}
application/xml, text/xml
Sample:
<SubmitAssignmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolAPI.Models"> <AssignmentId>1</AssignmentId> <ClassId>sample string 3</ClassId> <SectionId>4</SectionId> <StudentId>2</StudentId> <WorkFilePath>sample string 5</WorkFilePath> </SubmitAssignmentRequest>
application/x-www-form-urlencoded
Sample:
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. |