POST api/forumsetting/saveforumsetting
保存区块设置
Request Information
URI Parameters
None.
Body Parameters
ForumSettingDtoName | Description | Type | Additional information |
---|---|---|---|
PubId |
课程发布号(PubId) |
globally unique identifier |
None. |
Intro |
介绍 |
string |
None. |
ShowHotDiscuss |
展示热门讨论 |
boolean |
None. |
CreatedTime |
发布时间 |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "PubId": "dff16db1-5190-485a-a532-a19200d0478c", "Intro": "sample string 2", "ShowHotDiscuss": true, "CreatedTime": "2024-09-25T00:05:36.2490644+08:00" }
text/html
Sample:
{"PubId":"dff16db1-5190-485a-a532-a19200d0478c","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:05:36.2490644+08:00"}
application/xml, text/xml
Sample:
<ForumSettingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <CreatedTime>2024-09-25T00:05:36.2490644+08:00</CreatedTime> <Intro>sample string 2</Intro> <PubId>dff16db1-5190-485a-a532-a19200d0478c</PubId> <ShowHotDiscuss>true</ShowHotDiscuss> </ForumSettingDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "63a5ca4e-759a-46df-8245-5a69f4725a1b", "Intro": "sample string 2", "ShowHotDiscuss": true, "CreatedTime": "2024-09-25T00:05:36.2490644+08:00" } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"PubId":"63a5ca4e-759a-46df-8245-5a69f4725a1b","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:05:36.2490644+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:05:36.2490644+08:00</CreatedTime> <Intro>sample string 2</Intro> <PubId>63a5ca4e-759a-46df-8245-5a69f4725a1b</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":"63a5ca4e-759a-46df-8245-5a69f4725a1b","Intro":"sample string 2","ShowHotDiscuss":true,"CreatedTime":"2024-09-25T00:05:36.2490644+08:00"}});