POST api/v1/roaster/GetSubjectList

Request Information

URI Parameters

None.

Body Parameters

SubjectListingDataTableDTO
NameDescriptionTypeAdditional information
AcademicYearID

integer

None.

ComesUnderInstId

integer

None.

InstituteID

string

None.

LevelId

string

None.

CourseId

string

None.

ClassId

string

None.

SemesterId

string

None.

SubjectId

integer

None.

PageNumber

integer

None.

PageSize

integer

None.

order

string

None.

orderDir

string

None.

Keyword

string

None.

ProgrammeSpecificFlag

string

None.

ExportData

string

None.

Request Formats

application/json, text/json

Sample:
{
  "academicYearID": 1,
  "comesUnderInstId": 1,
  "instituteID": "sample string 2",
  "levelId": "sample string 3",
  "courseId": "sample string 4",
  "classId": "sample string 5",
  "semesterId": "sample string 6",
  "subjectId": 1,
  "pageNumber": 1,
  "pageSize": 1,
  "order": "sample string 7",
  "orderDir": "sample string 8",
  "keyword": "sample string 9",
  "programmeSpecificFlag": "sample string 10",
  "exportData": "sample string 11"
}

application/xml, text/xml

Sample:
<SubjectListingDataTableDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Somaiya.Models.DTO">
  <AcademicYearID>1</AcademicYearID>
  <ClassId>sample string 5</ClassId>
  <ComesUnderInstId>1</ComesUnderInstId>
  <CourseId>sample string 4</CourseId>
  <ExportData>sample string 11</ExportData>
  <InstituteID>sample string 2</InstituteID>
  <Keyword>sample string 9</Keyword>
  <LevelId>sample string 3</LevelId>
  <PageNumber>1</PageNumber>
  <PageSize>1</PageSize>
  <ProgrammeSpecificFlag>sample string 10</ProgrammeSpecificFlag>
  <SemesterId>sample string 6</SemesterId>
  <SubjectId>1</SubjectId>
  <order>sample string 7</order>
  <orderDir>sample string 8</orderDir>
</SubjectListingDataTableDTO>

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 'SubjectListingDataTableDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.