POST api/BENews/GetNewsList

Request Information

URI Parameters

None.

Body Parameters

BENewsCondition
NameDescriptionTypeAdditional information
IsTop

boolean

None.

Title

string

None.

Content

string

None.

CR_DateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "IsTop": true,
  "Title": "sample string 2",
  "Content": "sample string 3",
  "CR_DateTime": "2026-04-21 17:42:04"
}

application/xml, text/xml

Sample:
<NewsModel.BENewsCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models">
  <CR_DateTime>2026-04-21T17:42:04.344114+08:00</CR_DateTime>
  <Content>sample string 3</Content>
  <IsTop>true</IsTop>
  <Title>sample string 2</Title>
</NewsModel.BENewsCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResultOfListOfNewsList
NameDescriptionTypeAdditional information
body

Collection of NewsList

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.BaseResultOfArrayOfNewsModel.NewsListuKWfnEcv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRMS.Models">
  <body>
    <NewsModel.NewsList>
      <CR_DateTime>2026-04-21T17:42:04.344114+08:00</CR_DateTime>
      <CR_UserId>sample string 9</CR_UserId>
      <CR_UserName>sample string 10</CR_UserName>
      <Content>sample string 4</Content>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <IsTop>true</IsTop>
      <PostFrom>2026-04-21T17:42:04.344114+08:00</PostFrom>
      <PostTo>2026-04-21T17:42:04.344114+08:00</PostTo>
      <Title>sample string 3</Title>
      <UP_DateTime>2026-04-21T17:42:04.344114+08:00</UP_DateTime>
      <UP_UserId>sample string 12</UP_UserId>
      <UP_UserName>sample string 13</UP_UserName>
    </NewsModel.NewsList>
    <NewsModel.NewsList>
      <CR_DateTime>2026-04-21T17:42:04.344114+08:00</CR_DateTime>
      <CR_UserId>sample string 9</CR_UserId>
      <CR_UserName>sample string 10</CR_UserName>
      <Content>sample string 4</Content>
      <Id>1</Id>
      <IsDeleted>true</IsDeleted>
      <IsTop>true</IsTop>
      <PostFrom>2026-04-21T17:42:04.344114+08:00</PostFrom>
      <PostTo>2026-04-21T17:42:04.344114+08:00</PostTo>
      <Title>sample string 3</Title>
      <UP_DateTime>2026-04-21T17:42:04.344114+08:00</UP_DateTime>
      <UP_UserId>sample string 12</UP_UserId>
      <UP_UserName>sample string 13</UP_UserName>
    </NewsModel.NewsList>
  </body>
  <exception>sample string 2</exception>
  <isSuccess>true</isSuccess>
  <response i:nil="true" />
</BaseModels.BaseResultOfArrayOfNewsModel.NewsListuKWfnEcv>