POST Statistics/GetPlatformCourseYearReport

Request Information

URI Parameters

None.

Body Parameters

PlatformCourseYearReportDTO
NameDescriptionTypeAdditional information
Years

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Years": [
    1,
    2
  ]
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PlatformCourseYearReportResponseDTO
NameDescriptionTypeAdditional information
CourseTotal

integer

None.

ClassTotal

integer

None.

Data

Collection of PlatformCourseYearReportResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "NewAddCourseCount": 1,
      "NewAddClassCount": 2,
      "Year": 3
    },
    {
      "NewAddCourseCount": 1,
      "NewAddClassCount": 2,
      "Year": 3
    }
  ],
  "CourseTotal": 1,
  "ClassTotal": 2
}

application/xml, text/xml

Sample:
<PlatformCourseYearReportResponseDTO 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>
    <PlatformCourseYearReportResponse>
      <NewAddClassCount>2</NewAddClassCount>
      <NewAddCourseCount>1</NewAddCourseCount>
      <Year>3</Year>
    </PlatformCourseYearReportResponse>
    <PlatformCourseYearReportResponse>
      <NewAddClassCount>2</NewAddClassCount>
      <NewAddCourseCount>1</NewAddCourseCount>
      <Year>3</Year>
    </PlatformCourseYearReportResponse>
  </Data>
</PlatformCourseYearReportResponseDTO>