POST api/coursecatalog/save
保存课程目录
Request Information
URI Parameters
None.
Body Parameters
课程目录实体
CourseCatalogDtoName | Description | Type | Additional information |
---|---|---|---|
ID |
目录编辑 |
integer |
None. |
CourseID |
该目录的课程编号 |
globally unique identifier |
None. |
CatalogName |
目录名称 |
string |
None. |
PID |
父级目录 |
integer |
None. |
Level |
目录类型 章,节,小节,课 |
CatalogEnum |
None. |
PublishTime |
发布时间 |
date |
None. |
ChapterIntro |
章节知识点介绍 |
string |
None. |
Index |
目录序号 |
integer |
None. |
Online |
是否当前编辑版本 |
boolean |
None. |
IsPublish |
是否发布版本 |
boolean |
None. |
Children |
子节点 |
string |
None. |
IdsIndx |
节点顺序 |
string |
None. |
Extended |
拓展信息 |
string |
None. |
ResourceName |
拓展资源名称 |
string |
None. |
ResourceExtended |
拓展资源 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CourseID": "787f32cc-144f-449e-aac0-08d88bcbacc2", "CatalogName": "sample string 3", "PID": 4, "Level": 1, "PublishTime": "2024-09-25T00:09:59.2710882+08:00", "ChapterIntro": "sample string 5", "Index": 6, "Online": true, "IsPublish": true, "Children": "sample string 9", "IdsIndx": "sample string 10", "Extended": "sample string 11", "ResourceName": "sample string 12", "ResourceExtended": "sample string 13" }
text/html
Sample:
{"ID":1,"CourseID":"787f32cc-144f-449e-aac0-08d88bcbacc2","CatalogName":"sample string 3","PID":4,"Level":1,"PublishTime":"2024-09-25T00:09:59.2710882+08:00","ChapterIntro":"sample string 5","Index":6,"Online":true,"IsPublish":true,"Children":"sample string 9","IdsIndx":"sample string 10","Extended":"sample string 11","ResourceName":"sample string 12","ResourceExtended":"sample string 13"}
application/xml, text/xml
Sample:
<CourseCatalogDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <CatalogName>sample string 3</CatalogName> <ChapterIntro>sample string 5</ChapterIntro> <Children>sample string 9</Children> <CourseID>787f32cc-144f-449e-aac0-08d88bcbacc2</CourseID> <Extended>sample string 11</Extended> <ID>1</ID> <IdsIndx>sample string 10</IdsIndx> <Index>6</Index> <IsPublish>true</IsPublish> <Level>章</Level> <Online>true</Online> <PID>4</PID> <PublishTime>2024-09-25T00:09:59.2710882+08:00</PublishTime> <ResourceExtended>sample string 13</ResourceExtended> <ResourceName>sample string 12</ResourceName> </CourseCatalogDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存课程目录
JsonRtnDtoOfCourseCatalogName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | CourseCatalog |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "ID": 1, "CourseID": "02776815-15f2-4fe7-85b9-f09f80345ebe", "CatalogName": "sample string 3", "Path": "sample string 4", "PID": 5, "Level": 1, "PublishTime": "2024-09-25T00:09:59.3000728+08:00", "ChapterIntro": "sample string 6", "CreatedTime": "2024-09-25T00:09:59.3000728+08:00", "Index": 8, "Online": true, "IsPublish": true, "Extended": "sample string 11", "ResourceName": "sample string 12", "ResourceExtended": "sample string 13", "ContentType": 14, "Period": 15, "Credits": 16.1, "UpdatedTime": "2024-09-25T00:09:59.3000728+08:00", "RegulatorId": 17, "EnableMultiple": true, "ValidateType": 0, "DialogTime": 19.0, "RetestRepository": 20 } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"ID":1,"CourseID":"02776815-15f2-4fe7-85b9-f09f80345ebe","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:09:59.3000728+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:09:59.3000728+08:00","Index":8,"Online":true,"IsPublish":true,"Extended":"sample string 11","ResourceName":"sample string 12","ResourceExtended":"sample string 13","ContentType":14,"Period":15,"Credits":16.1,"UpdatedTime":"2024-09-25T00:09:59.3000728+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfCourseCatalogmEDjlcEG 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:CatalogName>sample string 3</d2p1:CatalogName> <d2p1:ChapterIntro>sample string 6</d2p1:ChapterIntro> <d2p1:ContentType>14</d2p1:ContentType> <d2p1:CourseID>02776815-15f2-4fe7-85b9-f09f80345ebe</d2p1:CourseID> <d2p1:CreatedTime>2024-09-25T00:09:59.3000728+08:00</d2p1:CreatedTime> <d2p1:Credits>16.1</d2p1:Credits> <d2p1:DialogTime>19</d2p1:DialogTime> <d2p1:EnableMultiple>true</d2p1:EnableMultiple> <d2p1:Extended>sample string 11</d2p1:Extended> <d2p1:ID>1</d2p1:ID> <d2p1:Index>8</d2p1:Index> <d2p1:IsPublish>true</d2p1:IsPublish> <d2p1:Level>章</d2p1:Level> <d2p1:Online>true</d2p1:Online> <d2p1:PID>5</d2p1:PID> <d2p1:Path>sample string 4</d2p1:Path> <d2p1:Period>15</d2p1:Period> <d2p1:PublishTime>2024-09-25T00:09:59.3000728+08:00</d2p1:PublishTime> <d2p1:RegulatorId>17</d2p1:RegulatorId> <d2p1:ResourceExtended>sample string 13</d2p1:ResourceExtended> <d2p1:ResourceName>sample string 12</d2p1:ResourceName> <d2p1:RetestRepository>20</d2p1:RetestRepository> <d2p1:UpdatedTime>2024-09-25T00:09:59.3000728+08:00</d2p1:UpdatedTime> <d2p1:ValidateType>随机拖动或验证码</d2p1:ValidateType> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfCourseCatalogmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"ID":1,"CourseID":"02776815-15f2-4fe7-85b9-f09f80345ebe","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:09:59.3000728+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:09:59.3000728+08:00","Index":8,"Online":true,"IsPublish":true,"Extended":"sample string 11","ResourceName":"sample string 12","ResourceExtended":"sample string 13","ContentType":14,"Period":15,"Credits":16.1,"UpdatedTime":"2024-09-25T00:09:59.3000728+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20}});