POST api/StaffHomework/AddHomework
Request Information
URI Parameters
None.
Body Parameters
AddHomeworkModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InstituteId | string |
None. |
|
| ClassSectionInstituteYearId | string |
None. |
|
| SubjectId | string |
None. |
|
| HwDate | string |
None. |
|
| HwDescription | string |
None. |
|
| IsNoHomework | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"InstituteId": "sample string 1",
"ClassSectionInstituteYearId": "sample string 2",
"SubjectId": "sample string 3",
"HwDate": "sample string 4",
"HwDescription": "sample string 5",
"IsNoHomework": true
}
text/html
Sample:
{"InstituteId":"sample string 1","ClassSectionInstituteYearId":"sample string 2","SubjectId":"sample string 3","HwDate":"sample string 4","HwDescription":"sample string 5","IsNoHomework":true}
application/xml, text/xml
Sample:
<AddHomeworkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models"> <ClassSectionInstituteYearId>sample string 2</ClassSectionInstituteYearId> <HwDate>sample string 4</HwDate> <HwDescription>sample string 5</HwDescription> <InstituteId>sample string 1</InstituteId> <IsNoHomework>true</IsNoHomework> <SubjectId>sample string 3</SubjectId> </AddHomeworkModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.