GET api/TaskManager/GetModuleRulesChapterList/{id}?page={page}&pagesize={pagesize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

None.

page

integer

None.

pagesize

integer

None.

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfPageBaseResultOfGetModuleRulesChapterDto
NameDescriptionTypeAdditional information
data

PageBaseResultOfGetModuleRulesChapterDto

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "list": [
      {
        "id": 1,
        "chapter_name": "sample string 2",
        "rules_name": "sample string 3",
        "subsectionList": [
          {
            "id": 1,
            "name": "sample string 2",
            "is_complete": true
          },
          {
            "id": 1,
            "name": "sample string 2",
            "is_complete": true
          }
        ]
      },
      {
        "id": 1,
        "chapter_name": "sample string 2",
        "rules_name": "sample string 3",
        "subsectionList": [
          {
            "id": 1,
            "name": "sample string 2",
            "is_complete": true
          },
          {
            "id": 1,
            "name": "sample string 2",
            "is_complete": true
          }
        ]
      }
    ],
    "total": 1
  },
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<BaseResponseOfPageBaseResultOfGetModuleRulesChapterDtogLTqVTfsgLTqVTfs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/LearnAPI.ViewModel">
    <d2p1:list>
      <d2p1:GetModuleRulesChapterDto>
        <d2p1:chapter_name>sample string 2</d2p1:chapter_name>
        <d2p1:id>1</d2p1:id>
        <d2p1:rules_name>sample string 3</d2p1:rules_name>
        <d2p1:subsectionList>
          <d2p1:GetModuleRulesSubsectionDto>
            <d2p1:id>1</d2p1:id>
            <d2p1:is_complete>true</d2p1:is_complete>
            <d2p1:name>sample string 2</d2p1:name>
          </d2p1:GetModuleRulesSubsectionDto>
          <d2p1:GetModuleRulesSubsectionDto>
            <d2p1:id>1</d2p1:id>
            <d2p1:is_complete>true</d2p1:is_complete>
            <d2p1:name>sample string 2</d2p1:name>
          </d2p1:GetModuleRulesSubsectionDto>
        </d2p1:subsectionList>
      </d2p1:GetModuleRulesChapterDto>
      <d2p1:GetModuleRulesChapterDto>
        <d2p1:chapter_name>sample string 2</d2p1:chapter_name>
        <d2p1:id>1</d2p1:id>
        <d2p1:rules_name>sample string 3</d2p1:rules_name>
        <d2p1:subsectionList>
          <d2p1:GetModuleRulesSubsectionDto>
            <d2p1:id>1</d2p1:id>
            <d2p1:is_complete>true</d2p1:is_complete>
            <d2p1:name>sample string 2</d2p1:name>
          </d2p1:GetModuleRulesSubsectionDto>
          <d2p1:GetModuleRulesSubsectionDto>
            <d2p1:id>1</d2p1:id>
            <d2p1:is_complete>true</d2p1:is_complete>
            <d2p1:name>sample string 2</d2p1:name>
          </d2p1:GetModuleRulesSubsectionDto>
        </d2p1:subsectionList>
      </d2p1:GetModuleRulesChapterDto>
    </d2p1:list>
    <d2p1:total>1</d2p1:total>
  </data>
</BaseResponseOfPageBaseResultOfGetModuleRulesChapterDtogLTqVTfsgLTqVTfs>