POST api/News/SaveForm?keyValue={keyValue}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| keyValue | string |
Required |
Body Parameters
NewsModels| Name | Description | Type | Additional information |
|---|---|---|---|
| NOTICES_ID | string |
None. |
|
| THEME | string |
Required |
|
| CONTENT | string |
Required |
|
| USER_ID | string |
None. |
|
| IS_PUBLIC | integer |
None. |
|
| CREATE_TIME | date |
None. |
|
| PUBLISH_TIME | date |
None. |
|
| ENABLE | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"NOTICES_ID": "sample string 1",
"THEME": "sample string 2",
"CONTENT": "sample string 3",
"USER_ID": "sample string 4",
"IS_PUBLIC": 5,
"CREATE_TIME": "2026-11-16 08:59:45",
"PUBLISH_TIME": "2026-11-16 08:59:45",
"ENABLE": 6
}
application/xml, text/xml
Sample:
<NewsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CBL.V12.Models"> <CONTENT>sample string 3</CONTENT> <CREATE_TIME>2026-11-16T08:59:45.0676043+08:00</CREATE_TIME> <ENABLE>6</ENABLE> <IS_PUBLIC>5</IS_PUBLIC> <NOTICES_ID>sample string 1</NOTICES_ID> <PUBLISH_TIME>2026-11-16T08:59:45.0676043+08:00</PUBLISH_TIME> <THEME>sample string 2</THEME> <USER_ID>sample string 4</USER_ID> </NewsModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.