PUT api/InstructorSectionSchedule/Put
Updates the start time and end time of the section schedule. If updateRecurring is true, recurring schedules that happen after the initial section schedule are updated as well.
Request Information
URI Parameters
None.
Body Parameters
PutSectionScheduleDtoName | Description | Type | Additional information |
---|---|---|---|
SectionScheduleId | integer |
Required |
|
StartTime | integer |
Required |
|
EndTime | integer |
Required |
|
UpdateRecurring | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{ "SectionScheduleId": 1, "StartTime": 2, "EndTime": 3, "UpdateRecurring": true }
application/xml, text/xml
Sample:
<PutSectionScheduleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.CourseNs"> <EndTime>3</EndTime> <SectionScheduleId>1</SectionScheduleId> <StartTime>2</StartTime> <UpdateRecurring>true</UpdateRecurring> </PutSectionScheduleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |