POST api/Vehicle/DeleteVehicle
Request Information
URI Parameters
None.
Body Parameters
VehicleInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Vehicle_Id | integer |
None. |
|
| VehicleCode | string |
None. |
|
| VehicleName | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedOn | date |
None. |
|
| Channel_Id | integer |
None. |
|
| ChannelName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Vehicle_Id": 1,
"VehicleCode": "sample string 2",
"VehicleName": "sample string 3",
"IsActive": true,
"CreatedBy": 5,
"CreatedOn": "2025-12-01T04:32:05.0809201+05:30",
"ModifiedBy": 1,
"ModifiedOn": "2025-12-01T04:32:05.0809201+05:30",
"Channel_Id": 1,
"ChannelName": "sample string 6"
}
application/xml, text/xml
Sample:
<VehicleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel"> <ChannelName>sample string 6</ChannelName> <Channel_Id>1</Channel_Id> <CreatedBy>5</CreatedBy> <CreatedOn>2025-12-01T04:32:05.0809201+05:30</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-12-01T04:32:05.0809201+05:30</ModifiedOn> <VehicleCode>sample string 2</VehicleCode> <VehicleName>sample string 3</VehicleName> <Vehicle_Id>1</Vehicle_Id> </VehicleInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>