POST api/News/Change

Request Information

URI Parameters

None.

Body Parameters

News
NameDescriptionTypeAdditional information
Id

integer

None.

Description

string

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Description": "sample string 2",
  "CreationDate": "2025-04-22T17:53:48.69499Z"
}

text/html

Sample:
{"Id":1,"Description":"sample string 2","CreationDate":"2025-04-22T17:53:48.69499Z"}

application/xml, text/xml

Sample:
<News xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrackTraceAPI.Models">
  <CreationDate>2025-04-22T17:53:48.69499+00:00</CreationDate>
  <Description>sample string 2</Description>
  <Id>1</Id>
</News>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.