POST api/resource/savemychapter
保存章节
Request Information
URI Parameters
None.
Body Parameters
MyChapterName | Description | Type | Additional information |
---|---|---|---|
Id |
主键ID |
string |
Max length: 36 |
ChapterName |
章节名称 |
string |
Max length: 50 |
PId |
父级id |
string |
Max length: 36 |
UserId |
创建人 |
integer |
None. |
NodeTab |
节点类型标记 |
NodeTab |
None. |
CreateTime |
创建时间 |
date |
None. |
Grade |
年级 |
integer |
None. |
PCId |
课程id |
integer |
None. |
Semester |
学期 |
Semester |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "ChapterName": "sample string 2", "PId": "sample string 3", "UserId": 4, "NodeTab": 1, "CreateTime": "2024-09-25T00:05:42.2495049+08:00", "Grade": 6, "PCId": 7, "Semester": 1 }
text/html
Sample:
{"Id":"sample string 1","ChapterName":"sample string 2","PId":"sample string 3","UserId":4,"NodeTab":1,"CreateTime":"2024-09-25T00:05:42.2495049+08:00","Grade":6,"PCId":7,"Semester":1}
application/xml, text/xml
Sample:
<MyChapter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <ChapterName>sample string 2</ChapterName> <CreateTime>2024-09-25T00:05:42.2495049+08:00</CreateTime> <Grade>6</Grade> <Id>sample string 1</Id> <NodeTab>章</NodeTab> <PCId>7</PCId> <PId>sample string 3</PId> <Semester>第一学期</Semester> <UserId>4</UserId> </MyChapter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存章节
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});