POST api/newsflow/SaveUpdateNewsflow

Request Information

URI Parameters

None.

Body Parameters

NewsFlow
NameDescriptionTypeAdditional information
NewsId

integer

None.

Description

string

None.

NewsType

integer

None.

PostUrl

string

None.

CreatedAt

date

None.

UpdatedAt

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

IsDeleted

boolean

None.

LogoUrl

string

None.

Title

string

None.

VideoThumbnailUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NewsId": 1,
  "Description": "sample string 2",
  "NewsType": 1,
  "PostUrl": "sample string 3",
  "CreatedAt": "2026-02-27T16:19:50.5080329+01:00",
  "UpdatedAt": "2026-02-27T16:19:50.5080329+01:00",
  "CreatedBy": 1,
  "UpdatedBy": 1,
  "IsDeleted": true,
  "LogoUrl": "sample string 4",
  "Title": "sample string 5",
  "VideoThumbnailUrl": "sample string 6"
}

application/xml, text/xml

Sample:
<NewsFlow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VillJaSES.Business.EntityModel">
  <CreatedAt>2026-02-27T16:19:50.5080329+01:00</CreatedAt>
  <CreatedBy>1</CreatedBy>
  <Description>sample string 2</Description>
  <IsDeleted>true</IsDeleted>
  <LogoUrl>sample string 4</LogoUrl>
  <NewsId>1</NewsId>
  <NewsType>1</NewsType>
  <PostUrl>sample string 3</PostUrl>
  <Title>sample string 5</Title>
  <UpdatedAt>2026-02-27T16:19:50.5080329+01:00</UpdatedAt>
  <UpdatedBy>1</UpdatedBy>
  <VideoThumbnailUrl>sample string 6</VideoThumbnailUrl>
</NewsFlow>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NewsFlow'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.