POST api/Client/Definition/DeleteVehicle

Request Information

URI Parameters

None.

Body Parameters

VehicleSearchModel
NameDescriptionTypeAdditional information
Plate

string

None.

Brand

string

None.

Model

string

None.

GearType

integer

None.

FuelType

integer

None.

CompanyId

integer

None.

Id

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Plate": "sample string 1",
  "Brand": "sample string 2",
  "Model": "sample string 3",
  "GearType": 1,
  "FuelType": 1,
  "CompanyId": 4,
  "Id": 5,
  "CreatedOn": "2025-10-25T21:07:30.0030571+03:00",
  "ModifiedOn": "2025-10-25T21:07:30.0030571+03:00",
  "Status": 6
}

application/xml, text/xml

Sample:
<VehicleSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:07:30.0030571+03:00</CreatedOn>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">5</Id>
  <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">2025-10-25T21:07:30.0030571+03:00</ModifiedOn>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">6</Status>
  <Brand>sample string 2</Brand>
  <CompanyId>4</CompanyId>
  <FuelType>1</FuelType>
  <GearType>1</GearType>
  <Model>sample string 3</Model>
  <Plate>sample string 1</Plate>
</VehicleSearchModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VehicleSearchModel'.

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional information
Response

boolean

None.

Message

string

None.

Exception

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Message": "sample string 2",
  "Exception": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
  <Exception>sample string 3</Exception>
  <Message>sample string 2</Message>
  <Response>true</Response>
</ResultModel>