POST api/BENews/UpdateNews

Request Information

URI Parameters

None.

Body Parameters

NewsUpdateData
NameDescriptionTypeAdditional information
Id

integer

None.

IsTop

boolean

None.

Title

string

None.

Content

string

None.

PostFrom

date

None.

PostTo

date

None.

IsDeleted

boolean

None.

UP_UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IsTop": true,
  "Title": "sample string 3",
  "Content": "sample string 4",
  "PostFrom": "2026-04-21 16:05:51",
  "PostTo": "2026-04-21 16:05:51",
  "IsDeleted": true,
  "UP_UserId": "sample string 8"
}

application/xml, text/xml

Sample:
<NewsModel.NewsUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models">
  <Content>sample string 4</Content>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsTop>true</IsTop>
  <PostFrom>2026-04-21T16:05:51.2770824+08:00</PostFrom>
  <PostTo>2026-04-21T16:05:51.2770824+08:00</PostTo>
  <Title>sample string 3</Title>
  <UP_UserId>sample string 8</UP_UserId>
</NewsModel.NewsUpdateData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResultOfObject
NameDescriptionTypeAdditional information
body

Object

None.

isSuccess

boolean

None.

message

string

None.

code

string

None.

response

Enum

None.

exception

string

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<BaseModels.BaseResultOfanyTypeRvdAXEcW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models">
  <body />
  <exception>sample string 3</exception>
  <isSuccess>true</isSuccess>
  <response i:nil="true" />
</BaseModels.BaseResultOfanyTypeRvdAXEcW>