POST Statistics/GetCourseYearReport

Request Information

URI Parameters

None.

Body Parameters

CourseYearReportDTO
NameDescriptionTypeAdditional information
CategoryId

integer

None.

Years

Collection of integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "Years": [
    1,
    2
  ],
  "PageIndex": 1,
  "PageSize": 2
}

application/xml, text/xml

Sample:
<CourseYearReportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <CategoryId>1</CategoryId>
  <PageIndex>1</PageIndex>
  <PageSize>2</PageSize>
  <Years xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Years>
</CourseYearReportDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CourseYearReportResponseDTO
NameDescriptionTypeAdditional information
CourseTotal

integer

None.

ClassTotal

integer

None.

RecordTotal

integer

None.

Data

Collection of CourseYearReportResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "CourseCount": 1,
      "ClassCount": 2,
      "NewAddCourseCount": 3,
      "NewAddClassCount": 4,
      "Year": 5,
      "CategoryName": "sample string 6"
    },
    {
      "CourseCount": 1,
      "ClassCount": 2,
      "NewAddCourseCount": 3,
      "NewAddClassCount": 4,
      "Year": 5,
      "CategoryName": "sample string 6"
    }
  ],
  "CourseTotal": 1,
  "ClassTotal": 2,
  "RecordTotal": 3
}

application/xml, text/xml

Sample:
<CourseYearReportResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <ClassTotal>2</ClassTotal>
  <CourseTotal>1</CourseTotal>
  <Data>
    <CourseYearReportResponse>
      <CategoryName>sample string 6</CategoryName>
      <ClassCount>2</ClassCount>
      <CourseCount>1</CourseCount>
      <NewAddClassCount>4</NewAddClassCount>
      <NewAddCourseCount>3</NewAddCourseCount>
      <Year>5</Year>
    </CourseYearReportResponse>
    <CourseYearReportResponse>
      <CategoryName>sample string 6</CategoryName>
      <ClassCount>2</ClassCount>
      <CourseCount>1</CourseCount>
      <NewAddClassCount>4</NewAddClassCount>
      <NewAddCourseCount>3</NewAddCourseCount>
      <Year>5</Year>
    </CourseYearReportResponse>
  </Data>
  <RecordTotal>3</RecordTotal>
</CourseYearReportResponseDTO>