GET api/section/find?courseId={courseId}
获取课程版块信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
获取课程版块信息
JsonRtnDtoOfSectionName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Section |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "CourseID": "4da17c90-7ed6-4f68-971c-c842581a5867", "CreatedTime": "2024-09-25T00:09:15.6405897+08:00", "DirIsOpen": true, "TestIsOpen": true, "DiscussIsOpen": true, "NoticeIsOpen": true, "QuestionnaireIsOpen": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"CourseID":"4da17c90-7ed6-4f68-971c-c842581a5867","CreatedTime":"2024-09-25T00:09:15.6405897+08:00","DirIsOpen":true,"TestIsOpen":true,"DiscussIsOpen":true,"NoticeIsOpen":true,"QuestionnaireIsOpen":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfSectionmEDjlcEG 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:CourseID>4da17c90-7ed6-4f68-971c-c842581a5867</d2p1:CourseID> <d2p1:CreatedTime>2024-09-25T00:09:15.6405897+08:00</d2p1:CreatedTime> <d2p1:DirIsOpen>true</d2p1:DirIsOpen> <d2p1:DiscussIsOpen>true</d2p1:DiscussIsOpen> <d2p1:NoticeIsOpen>true</d2p1:NoticeIsOpen> <d2p1:QuestionnaireIsOpen>true</d2p1:QuestionnaireIsOpen> <d2p1:TestIsOpen>true</d2p1:TestIsOpen> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfSectionmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"CourseID":"4da17c90-7ed6-4f68-971c-c842581a5867","CreatedTime":"2024-09-25T00:09:15.6405897+08:00","DirIsOpen":true,"TestIsOpen":true,"DiscussIsOpen":true,"NoticeIsOpen":true,"QuestionnaireIsOpen":true}});