GET api/coursecatalog/bylevel?id={id}&level={level}
按目录类型加载课程目录
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
level | CatalogEnum |
Required |
Body Parameters
None.
Response Information
Resource Description
按目录类型加载课程目录
JsonRtnDtoOfListOfCourseCatalogName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Collection of CourseCatalog |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": [ { "ID": 1, "CourseID": "6c0787e3-9106-4db3-a253-bbf8e410b2e8", "CatalogName": "sample string 3", "Path": "sample string 4", "PID": 5, "Level": 1, "PublishTime": "2024-09-25T00:11:36.9525172+08:00", "ChapterIntro": "sample string 6", "CreatedTime": "2024-09-25T00:11:36.9525172+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:11:36.9525172+08:00", "RegulatorId": 17, "EnableMultiple": true, "ValidateType": 0, "DialogTime": 19.0, "RetestRepository": 20 }, { "ID": 1, "CourseID": "6c0787e3-9106-4db3-a253-bbf8e410b2e8", "CatalogName": "sample string 3", "Path": "sample string 4", "PID": 5, "Level": 1, "PublishTime": "2024-09-25T00:11:36.9525172+08:00", "ChapterIntro": "sample string 6", "CreatedTime": "2024-09-25T00:11:36.9525172+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:11:36.9525172+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":"6c0787e3-9106-4db3-a253-bbf8e410b2e8","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:11:36.9525172+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:11:36.9525172+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:11:36.9525172+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20},{"ID":1,"CourseID":"6c0787e3-9106-4db3-a253-bbf8e410b2e8","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:11:36.9525172+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:11:36.9525172+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:11:36.9525172+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20}]}
application/xml, text/xml
Sample:
<JsonRtnDtoOfArrayOfCourseCatalogmEDjlcEG 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:CourseCatalog> <d2p1:CatalogName>sample string 3</d2p1:CatalogName> <d2p1:ChapterIntro>sample string 6</d2p1:ChapterIntro> <d2p1:ContentType>14</d2p1:ContentType> <d2p1:CourseID>6c0787e3-9106-4db3-a253-bbf8e410b2e8</d2p1:CourseID> <d2p1:CreatedTime>2024-09-25T00:11:36.9525172+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:11:36.9525172+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:11:36.9525172+08:00</d2p1:UpdatedTime> <d2p1:ValidateType>随机拖动或验证码</d2p1:ValidateType> </d2p1:CourseCatalog> <d2p1:CourseCatalog> <d2p1:CatalogName>sample string 3</d2p1:CatalogName> <d2p1:ChapterIntro>sample string 6</d2p1:ChapterIntro> <d2p1:ContentType>14</d2p1:ContentType> <d2p1:CourseID>6c0787e3-9106-4db3-a253-bbf8e410b2e8</d2p1:CourseID> <d2p1:CreatedTime>2024-09-25T00:11:36.9525172+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:11:36.9525172+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:11:36.9525172+08:00</d2p1:UpdatedTime> <d2p1:ValidateType>随机拖动或验证码</d2p1:ValidateType> </d2p1:CourseCatalog> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfArrayOfCourseCatalogmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":[{"ID":1,"CourseID":"6c0787e3-9106-4db3-a253-bbf8e410b2e8","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:11:36.9525172+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:11:36.9525172+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:11:36.9525172+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20},{"ID":1,"CourseID":"6c0787e3-9106-4db3-a253-bbf8e410b2e8","CatalogName":"sample string 3","Path":"sample string 4","PID":5,"Level":1,"PublishTime":"2024-09-25T00:11:36.9525172+08:00","ChapterIntro":"sample string 6","CreatedTime":"2024-09-25T00:11:36.9525172+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:11:36.9525172+08:00","RegulatorId":17,"EnableMultiple":true,"ValidateType":0,"DialogTime":19.0,"RetestRepository":20}]});