POST api/StaffHomework/GetHomework

Request Information

URI Parameters

None.

Body Parameters

GetHomeWork
NameDescriptionTypeAdditional information
HwDate

string

None.

ClassSectionInstituteYearId

string

None.

SubjectId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HwDate": "sample string 1",
  "ClassSectionInstituteYearId": "sample string 2",
  "SubjectId": "sample string 3"
}

text/html

Sample:
{"HwDate":"sample string 1","ClassSectionInstituteYearId":"sample string 2","SubjectId":"sample string 3"}

application/xml, text/xml

Sample:
<GetHomeWorkModel.GetHomeWork 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 1</HwDate>
  <SubjectId>sample string 3</SubjectId>
</GetHomeWorkModel.GetHomeWork>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetHomeWork'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.