POST api/News/Remove
Request Information
URI Parameters
None.
Body Parameters
NewsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| Category | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Content | string |
None. |
|
| ImageURL | string |
None. |
|
| Status | string |
None. |
|
| createdOn | date |
None. |
|
| createdBy | string |
None. |
|
| modifiedOn | date |
None. |
|
| modifiedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"Category": "sample string 1",
"Title": "sample string 2",
"Description": "sample string 3",
"Content": "sample string 4",
"ImageURL": "sample string 5",
"Status": "sample string 6",
"createdOn": "2026-10-20T07:58:05.2104276+07:00",
"createdBy": "sample string 7",
"modifiedOn": "2026-10-20T07:58:05.2104276+07:00",
"modifiedBy": "sample string 8"
}
application/xml, text/xml
Sample:
<NewsController.NewsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers"> <Category>sample string 1</Category> <Content>sample string 4</Content> <Description>sample string 3</Description> <ImageURL>sample string 5</ImageURL> <Status>sample string 6</Status> <Title>sample string 2</Title> <createdBy>sample string 7</createdBy> <createdOn>2026-10-20T07:58:05.2104276+07:00</createdOn> <id>1</id> <modifiedBy>sample string 8</modifiedBy> <modifiedOn>2026-10-20T07:58:05.2104276+07:00</modifiedOn> </NewsController.NewsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.