POST CourseCategory/GetCourseCategoryByPage

Request Information

URI Parameters

None.

Body Parameters

QueryCourseCategoryDTO
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "PageIndex": 3,
  "PageSize": 4
}

application/xml, text/xml

Sample:
<QueryCourseCategoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
  <Description>sample string 2</Description>
  <Name>sample string 1</Name>
  <PageIndex>3</PageIndex>
  <PageSize>4</PageSize>
</QueryCourseCategoryDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TupleOfIListOfCourseCategoryResponseDTOAndInt32
NameDescriptionTypeAdditional information
Item1

Collection of CourseCategoryResponseDTO

None.

Item2

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "m_Item1": [
    {
      "Id": 1,
      "MajorId": 2,
      "Name": "sample string 3",
      "CategoryLevel2Names": "sample string 4",
      "Description": "sample string 5",
      "ParentId": 6,
      "ParentName": "sample string 7",
      "State": 8,
      "CreateTime": "2026-04-13T13:49:52.8726768+08:00",
      "Type": 10,
      "CreateTimeShow": "2026-04-13 13:49:52"
    },
    {
      "Id": 1,
      "MajorId": 2,
      "Name": "sample string 3",
      "CategoryLevel2Names": "sample string 4",
      "Description": "sample string 5",
      "ParentId": 6,
      "ParentName": "sample string 7",
      "State": 8,
      "CreateTime": "2026-04-13T13:49:52.8726768+08:00",
      "Type": 10,
      "CreateTimeShow": "2026-04-13 13:49:52"
    }
  ],
  "m_Item2": 1
}

application/xml, text/xml

Sample:
<TupleOfArrayOfCourseCategoryResponseDTOintwzhYRPk2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
    <d2p1:CourseCategoryResponseDTO>
      <d2p1:CategoryLevel2Names>sample string 4</d2p1:CategoryLevel2Names>
      <d2p1:CreateTime>2026-04-13T13:49:52.8726768+08:00</d2p1:CreateTime>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MajorId>2</d2p1:MajorId>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:ParentId>6</d2p1:ParentId>
      <d2p1:ParentName>sample string 7</d2p1:ParentName>
      <d2p1:State>8</d2p1:State>
      <d2p1:Type>10</d2p1:Type>
    </d2p1:CourseCategoryResponseDTO>
    <d2p1:CourseCategoryResponseDTO>
      <d2p1:CategoryLevel2Names>sample string 4</d2p1:CategoryLevel2Names>
      <d2p1:CreateTime>2026-04-13T13:49:52.8726768+08:00</d2p1:CreateTime>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MajorId>2</d2p1:MajorId>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:ParentId>6</d2p1:ParentId>
      <d2p1:ParentName>sample string 7</d2p1:ParentName>
      <d2p1:State>8</d2p1:State>
      <d2p1:Type>10</d2p1:Type>
    </d2p1:CourseCategoryResponseDTO>
  </m_Item1>
  <m_Item2>1</m_Item2>
</TupleOfArrayOfCourseCategoryResponseDTOintwzhYRPk2>