POST api/InstructorSectionSchedule/Post
Creates one or more section schedules.
Request Information
URI Parameters
None.
Body Parameters
PostSectionScheduleDtoName | Description | Type | Additional information |
---|---|---|---|
SectionId | integer |
Required |
|
StartTime | integer |
Required |
|
EndTime | integer |
Required |
|
LatestEndTime | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SectionId": 1, "StartTime": 2, "EndTime": 3, "LatestEndTime": 1 }
application/xml, text/xml
Sample:
<PostSectionScheduleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.CourseNs"> <EndTime>3</EndTime> <LatestEndTime>1</LatestEndTime> <SectionId>1</SectionId> <StartTime>2</StartTime> </PostSectionScheduleDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A list with the created events' DTOs.
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. |