POST api/setNews

Request Information

URI Parameters

None.

Body Parameters

News
NameDescriptionTypeAdditional information
Id

integer

None.

comment

string

None.

CreatedBy

integer

None.

IsActive

integer

None.

IsDeleted

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "comment": "sample string 2",
  "CreatedBy": 1,
  "IsActive": 1,
  "IsDeleted": 1,
  "CreatedDate": "2026-04-17T18:10:05.2304461+05:30"
}

text/html

Sample:
{"$id":"1","Id":1,"comment":"sample string 2","CreatedBy":1,"IsActive":1,"IsDeleted":1,"CreatedDate":"2026-04-17T18:10:05.2304461+05:30"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true