GET api/forumsetting/find?courseId={courseId}
加载讨论区设置(不包括版块设置)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
加载讨论区设置(不包括版块设置)
JsonRtnDtoOfForumSettingDtoName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | ForumSettingDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "PubId": "e0b6de6b-c904-4d6c-a640-6e45e2a08e0d", "Intro": "sample string 2", "ShowHotDiscuss": true, "CreatedTime": "2024-09-25T00:08:55.2661415+08:00" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"PubId":"e0b6de6b-c904-4d6c-a640-6e45e2a08e0d","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:08:55.2661415+08:00"}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfForumSettingDtov3CTEUQJ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data> <CreatedTime>2024-09-25T00:08:55.2661415+08:00</CreatedTime> <Intro>sample string 2</Intro> <PubId>e0b6de6b-c904-4d6c-a640-6e45e2a08e0d</PubId> <ShowHotDiscuss>true</ShowHotDiscuss> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfForumSettingDtov3CTEUQJ>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"PubId":"e0b6de6b-c904-4d6c-a640-6e45e2a08e0d","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:08:55.2661415+08:00"}});