POST api/OnlineClass/scheduleSinglePeriod
Request Information
URI Parameters
None.
Body Parameters
ScheduleSinglePeriodRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TimeTableId | integer |
None. |
|
| SelectedDateStr | string |
None. |
|
| EarlyMinutes | integer |
None. |
|
| UserId | integer |
None. |
|
| InstituteYearId | integer |
None. |
|
| IsPrincipal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TimeTableId": 1,
"SelectedDateStr": "sample string 2",
"EarlyMinutes": 3,
"UserId": 4,
"InstituteYearId": 5,
"IsPrincipal": true
}
text/html
Sample:
{"TimeTableId":1,"SelectedDateStr":"sample string 2","EarlyMinutes":3,"UserId":4,"InstituteYearId":5,"IsPrincipal":true}
application/xml, text/xml
Sample:
<OnlineClassController.ScheduleSinglePeriodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Controllers"> <EarlyMinutes>3</EarlyMinutes> <InstituteYearId>5</InstituteYearId> <IsPrincipal>true</IsPrincipal> <SelectedDateStr>sample string 2</SelectedDateStr> <TimeTableId>1</TimeTableId> <UserId>4</UserId> </OnlineClassController.ScheduleSinglePeriodRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />