GET api/resource/getmychapter?Id={Id}

获取当前章节(备课)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

主键id

string

Required

Body Parameters

None.

Response Information

Resource Description

获取当前章节(备课)

JsonRtnDtoOfMyChapter
NameDescriptionTypeAdditional information
Msg

string

None.

State

RtnState

None.

Data

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:07:21.4550222+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:07:21.4550222+08:00","Grade":6,"PCId":7,"Semester":1}}

application/xml, text/xml

Sample:
<JsonRtnDtoOfMyChaptermEDjlcEG 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:ChapterName>sample string 2</d2p1:ChapterName>
    <d2p1:CreateTime>2024-09-25T00:07:21.4550222+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>
  </Data>
  <Msg>sample string 1</Msg>
  <State>Display</State>
</JsonRtnDtoOfMyChaptermEDjlcEG>

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:07:21.4550222+08:00","Grade":6,"PCId":7,"Semester":1}});