POST api/forumsetting/saveplate
保存区块设置
Request Information
URI Parameters
None.
Body Parameters
PlateName | Description | Type | Additional information |
---|---|---|---|
Id |
编号 |
integer |
None. |
PubId |
课程发布号(PubId) |
globally unique identifier |
None. |
Title |
板块名称 |
string |
None. |
Intro |
介绍 |
string |
None. |
CreatedTime |
发布时间 |
date |
None. |
IsCustom |
是否自定义 |
boolean |
None. |
AllowNewSubject |
允许新的主题 |
boolean |
None. |
Enabled |
是否启用 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PubId": "35821a9d-0a80-43ff-872e-91c8e7afb3b3", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:05:54.2669241+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true }
text/html
Sample:
{"Id":1,"PubId":"35821a9d-0a80-43ff-872e-91c8e7afb3b3","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:05:54.2669241+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}
application/xml, text/xml
Sample:
<Plate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <AllowNewSubject>true</AllowNewSubject> <CreatedTime>2024-09-25T00:05:54.2669241+08:00</CreatedTime> <Enabled>true</Enabled> <Id>1</Id> <Intro>sample string 4</Intro> <IsCustom>true</IsCustom> <PubId>35821a9d-0a80-43ff-872e-91c8e7afb3b3</PubId> <Title>sample string 3</Title> </Plate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存区块设置
JsonRtnDtoOfPlateName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | Plate |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": { "Id": 1, "PubId": "e1883088-7d80-4a8c-bd86-9c73f03b8dfe", "Title": "sample string 3", "Intro": "sample string 4", "CreatedTime": "2024-09-25T00:05:54.2968926+08:00", "IsCustom": true, "AllowNewSubject": true, "Enabled": true } }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":{"Id":1,"PubId":"e1883088-7d80-4a8c-bd86-9c73f03b8dfe","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:05:54.2968926+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}}
application/xml, text/xml
Sample:
<JsonRtnDtoOfPlatemEDjlcEG 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:AllowNewSubject>true</d2p1:AllowNewSubject> <d2p1:CreatedTime>2024-09-25T00:05:54.2968926+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>e1883088-7d80-4a8c-bd86-9c73f03b8dfe</d2p1:PubId> <d2p1:Title>sample string 3</d2p1:Title> </Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfPlatemEDjlcEG>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":{"Id":1,"PubId":"e1883088-7d80-4a8c-bd86-9c73f03b8dfe","Title":"sample string 3","Intro":"sample string 4","CreatedTime":"2024-09-25T00:05:54.2968926+08:00","IsCustom":true,"AllowNewSubject":true,"Enabled":true}});