POST api/RcAdminSections/PostSection

Request Information

URI Parameters

None.

Body Parameters

PostSectionDto
NameDescriptionTypeAdditional information
CourseId

integer

Required

SisId

string

None.

Name

string

Required

CampusId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "CourseId": 1,
  "SisId": "sample string 2",
  "Name": "sample string 3",
  "CampusId": 4
}

application/xml, text/xml

Sample:
<PostSectionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.CourseNs">
  <CampusId>4</CampusId>
  <CourseId>1</CourseId>
  <Name>sample string 3</Name>
  <SisId>sample string 2</SisId>
</PostSectionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.