GET api/resource/mychapterlist?Grade={Grade}&Semester={Semester}&PCId={PCId}

获取自己创建的章节(备课)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Grade

年级

integer

Required

Semester

学期

Semester

Required

PCId

课程

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取自己创建的章节(备课)

JsonRtnDtoOfListOfMyChapter
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

Collection of MyChapter

None.

Response Formats

application/json, text/json

Sample:
{
  "Msg": "sample string 1",
  "State": 100,
  "Data": [
    {
      "Id": "sample string 1",
      "ChapterName": "sample string 2",
      "PId": "sample string 3",
      "UserId": 4,
      "NodeTab": 1,
      "CreateTime": "2024-09-25T00:06:25.1562132+08:00",
      "Grade": 6,
      "PCId": 7,
      "Semester": 1
    },
    {
      "Id": "sample string 1",
      "ChapterName": "sample string 2",
      "PId": "sample string 3",
      "UserId": 4,
      "NodeTab": 1,
      "CreateTime": "2024-09-25T00:06:25.1562132+08:00",
      "Grade": 6,
      "PCId": 7,
      "Semester": 1
    }
  ]
}

text/html

Sample:
{"Msg":"sample string 1","State":100,"Data":[{"Id":"sample string 1","ChapterName":"sample string 2","PId":"sample string 3","UserId":4,"NodeTab":1,"CreateTime":"2024-09-25T00:06:25.1562132+08:00","Grade":6,"PCId":7,"Semester":1},{"Id":"sample string 1","ChapterName":"sample string 2","PId":"sample string 3","UserId":4,"NodeTab":1,"CreateTime":"2024-09-25T00:06:25.1562132+08:00","Grade":6,"PCId":7,"Semester":1}]}

application/xml, text/xml

Sample:
<JsonRtnDtoOfArrayOfMyChaptermEDjlcEG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BJ.Data">
    <d2p1:MyChapter>
      <d2p1:ChapterName>sample string 2</d2p1:ChapterName>
      <d2p1:CreateTime>2024-09-25T00:06:25.1562132+08:00</d2p1:CreateTime>
      <d2p1:Grade>6</d2p1:Grade>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:NodeTab>章</d2p1:NodeTab>
      <d2p1:PCId>7</d2p1:PCId>
      <d2p1:PId>sample string 3</d2p1:PId>
      <d2p1:Semester>第一学期</d2p1:Semester>
      <d2p1:UserId>4</d2p1:UserId>
    </d2p1:MyChapter>
    <d2p1:MyChapter>
      <d2p1:ChapterName>sample string 2</d2p1:ChapterName>
      <d2p1:CreateTime>2024-09-25T00:06:25.1562132+08:00</d2p1:CreateTime>
      <d2p1:Grade>6</d2p1:Grade>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:NodeTab>章</d2p1:NodeTab>
      <d2p1:PCId>7</d2p1:PCId>
      <d2p1:PId>sample string 3</d2p1:PId>
      <d2p1:Semester>第一学期</d2p1:Semester>
      <d2p1:UserId>4</d2p1:UserId>
    </d2p1:MyChapter>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfArrayOfMyChaptermEDjlcEG>

text/javascript, application/javascript, application/json-p

Sample:
/**/ typeof  === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"Id":"sample string 1","ChapterName":"sample string 2","PId":"sample string 3","UserId":4,"NodeTab":1,"CreateTime":"2024-09-25T00:06:25.1562132+08:00","Grade":6,"PCId":7,"Semester":1},{"Id":"sample string 1","ChapterName":"sample string 2","PId":"sample string 3","UserId":4,"NodeTab":1,"CreateTime":"2024-09-25T00:06:25.1562132+08:00","Grade":6,"PCId":7,"Semester":1}]});