GET api/forumsetting/loadopenplate?courseId={courseId}
加载课程已开启版块(及讨论区说明)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
加载课程已开启版块(及讨论区说明)
JsonRtnDtoOfForumSettingName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ForumSetting |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "PubId": "b8bcb37a-c310-47be-91a6-1afe94e99451", "Intro": "sample string 2", "ShowHotDiscuss": true, "CreatedTime": "2024-09-25T00:07:29.0315302+08:00", "Plates": [ { "Id": 1, "PubId": "92652437-e0a6-4db2-9d0b-903e1fb16bec", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:07:29.0315302+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true }, { "Id": 1, "PubId": "92652437-e0a6-4db2-9d0b-903e1fb16bec", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:07:29.0315302+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true } ] } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"PubId":"b8bcb37a-c310-47be-91a6-1afe94e99451","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:07:29.0315302+08:00","Plates":[{"Id":1,"PubId":"92652437-e0a6-4db2-9d0b-903e1fb16bec","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:07:29.0315302+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true},{"Id":1,"PubId":"92652437-e0a6-4db2-9d0b-903e1fb16bec","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:07:29.0315302+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}]}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfForumSettingmEDjlcEG 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:CreatedTime>2024-09-25T00:07:29.0315302+08:00</d2p1:CreatedTime> <d2p1:Intro>sample string 2</d2p1:Intro> <d2p1:Plates> <d2p1:Plate> <d2p1:AllowNewSubject>true</d2p1:AllowNewSubject> <d2p1:CreatedTime>2024-09-25T00:07:29.0315302+08:00</d2p1:CreatedTime> <d2p1:Enabled>true</d2p1:Enabled> <d2p1:Id>1</d2p1:Id> <d2p1:Intro>sample string 4</d2p1:Intro> <d2p1:IsCustom>true</d2p1:IsCustom> <d2p1:PubId>92652437-e0a6-4db2-9d0b-903e1fb16bec</d2p1:PubId> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:Plate> <d2p1:Plate> <d2p1:AllowNewSubject>true</d2p1:AllowNewSubject> <d2p1:CreatedTime>2024-09-25T00:07:29.0315302+08:00</d2p1:CreatedTime> <d2p1:Enabled>true</d2p1:Enabled> <d2p1:Id>1</d2p1:Id> <d2p1:Intro>sample string 4</d2p1:Intro> <d2p1:IsCustom>true</d2p1:IsCustom> <d2p1:PubId>92652437-e0a6-4db2-9d0b-903e1fb16bec</d2p1:PubId> <d2p1:Title>sample string 3</d2p1:Title> </d2p1:Plate> </d2p1:Plates> <d2p1:PubId>b8bcb37a-c310-47be-91a6-1afe94e99451</d2p1:PubId> <d2p1:ShowHotDiscuss>true</d2p1:ShowHotDiscuss> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfForumSettingmEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PubId":"b8bcb37a-c310-47be-91a6-1afe94e99451","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:07:29.0315302+08:00","Plates":[{"Id":1,"PubId":"92652437-e0a6-4db2-9d0b-903e1fb16bec","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:07:29.0315302+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true},{"Id":1,"PubId":"92652437-e0a6-4db2-9d0b-903e1fb16bec","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:07:29.0315302+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}]}});