POST api/News/Delete
Request Information
URI Parameters
None.
Body Parameters
News| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Heading | string |
None. |
|
| Image | string |
None. |
|
| Status | string |
None. |
|
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| Deleted | date |
None. |
|
| Details | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Heading": "sample string 2",
"Image": "sample string 3",
"Status": "sample string 4",
"CategoryId": 1,
"CategoryName": "sample string 5",
"CreatedDate": "2025-12-05T19:53:28.4379183-08:00",
"ModifiedDate": "2025-12-05T19:53:28.4379183-08:00",
"Deleted": "2025-12-05T19:53:28.4379183-08:00",
"Details": "sample string 6"
}
text/html
Sample:
{"Id":1,"Heading":"sample string 2","Image":"sample string 3","Status":"sample string 4","CategoryId":1,"CategoryName":"sample string 5","CreatedDate":"2025-12-05T19:53:28.4379183-08:00","ModifiedDate":"2025-12-05T19:53:28.4379183-08:00","Deleted":"2025-12-05T19:53:28.4379183-08:00","Details":"sample string 6"}
application/xml, text/xml
Sample:
<News xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI"> <CategoryId>1</CategoryId> <CategoryName>sample string 5</CategoryName> <CreatedDate>2025-12-05T19:53:28.4379183-08:00</CreatedDate> <Deleted>2025-12-05T19:53:28.4379183-08:00</Deleted> <Details>sample string 6</Details> <Heading>sample string 2</Heading> <Id>1</Id> <Image>sample string 3</Image> <ModifiedDate>2025-12-05T19:53:28.4379183-08:00</ModifiedDate> <Status>sample string 4</Status> </News>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponceData| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCount | integer |
None. |
|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalCount": 1,
"Message": "sample string 2",
"Success": true,
"Data": {}
}
text/html
Sample:
{"TotalCount":1,"Message":"sample string 2","Success":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Formatter"> <Data /> <Message>sample string 2</Message> <Success>true</Success> <TotalCount>1</TotalCount> </ResponceData>