POST api/ppadmin/saveforuminfo
保存学术讲座
Request Information
URI Parameters
None.
Body Parameters
参数
ForumInfoName | Description | Type | Additional information |
---|---|---|---|
Id |
主键 |
string |
Max length: 36 |
Title |
标题 |
string |
Max length: 50 |
StuWay |
1线下;2线上 |
integer |
None. |
Hot |
浏览量 |
integer |
None. |
Con |
讲座内容 |
string |
None. |
Synopsis |
讲座简介 |
string |
None. |
AddTime |
创建时间 |
date |
None. |
BackgroundImg |
打卡背景 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Title": "sample string 2", "StuWay": 3, "Hot": 4, "Con": "sample string 5", "Synopsis": "sample string 6", "AddTime": "2024-09-25T00:09:12.1874055+08:00", "BackgroundImg": "sample string 7" }
text/html
Sample:
{"Id":"sample string 1","Title":"sample string 2","StuWay":3,"Hot":4,"Con":"sample string 5","Synopsis":"sample string 6","AddTime":"2024-09-25T00:09:12.1874055+08:00","BackgroundImg":"sample string 7"}
application/xml, text/xml
Sample:
<ForumInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Data"> <AddTime>2024-09-25T00:09:12.1874055+08:00</AddTime> <BackgroundImg>sample string 7</BackgroundImg> <Con>sample string 5</Con> <Hot>4</Hot> <Id>sample string 1</Id> <StuWay>3</StuWay> <Synopsis>sample string 6</Synopsis> <Title>sample string 2</Title> </ForumInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
保存学术讲座
JsonRtnDtoOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Msg | string |
None. |
|
State | RtnState |
None. |
|
Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Msg": "sample string 1", "State": 100, "Data": true }
text/html
Sample:
{"Msg":"sample string 1","State":100,"Data":true}
application/xml, text/xml
Sample:
<JsonRtnDtoOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BJ.Services"> <Data>true</Data> <Msg>sample string 1</Msg> <State>Display</State> </JsonRtnDtoOfboolean>
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"Msg":"sample string 1","State":100,"Data":true});