POST api/Client/Definition/GetVehicle
Request Information
URI Parameters
None.
Body Parameters
VehicleSearchModel| Name | Description | Type | Additional 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:11:51.908461+03:00",
"ModifiedOn": "2025-10-25T21:11:51.908461+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:11:51.908461+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:11:51.908461+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:
Response Information
Resource Description
ResultModelOfListOfVehicleResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | boolean |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
|
| Data | Collection of VehicleResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": true,
"Message": "sample string 2",
"Exception": "sample string 3",
"Data": [
{
"Plate": "sample string 1",
"Brand": "sample string 2",
"Model": "sample string 3",
"ModelYear": "sample string 4",
"GearType": 1,
"FuelType": 1,
"DrivingLicenseTypes": "sample string 5",
"CompanyId": 6,
"Id": 7,
"CreatedOn": "2025-10-25T21:11:51.908461+03:00",
"ModifiedOn": "2025-10-25T21:11:51.908461+03:00",
"Status": 8
},
{
"Plate": "sample string 1",
"Brand": "sample string 2",
"Model": "sample string 3",
"ModelYear": "sample string 4",
"GearType": 1,
"FuelType": 1,
"DrivingLicenseTypes": "sample string 5",
"CompanyId": 6,
"Id": 7,
"CreatedOn": "2025-10-25T21:11:51.908461+03:00",
"ModifiedOn": "2025-10-25T21:11:51.908461+03:00",
"Status": 8
}
]
}
application/xml, text/xml
Sample:
<ResultModelOfArrayOfVehicleResponseModelIjrq4xa9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Entities.Models.Client.Definition">
<d2p1:VehicleResponseModel>
<CreatedOn>2025-10-25T21:11:51.908461+03:00</CreatedOn>
<Id>7</Id>
<ModifiedOn>2025-10-25T21:11:51.908461+03:00</ModifiedOn>
<Status>8</Status>
<d2p1:Brand>sample string 2</d2p1:Brand>
<d2p1:CompanyId>6</d2p1:CompanyId>
<d2p1:DrivingLicenseTypes>sample string 5</d2p1:DrivingLicenseTypes>
<d2p1:FuelType>1</d2p1:FuelType>
<d2p1:GearType>1</d2p1:GearType>
<d2p1:Model>sample string 3</d2p1:Model>
<d2p1:ModelYear>sample string 4</d2p1:ModelYear>
<d2p1:Plate>sample string 1</d2p1:Plate>
</d2p1:VehicleResponseModel>
<d2p1:VehicleResponseModel>
<CreatedOn>2025-10-25T21:11:51.908461+03:00</CreatedOn>
<Id>7</Id>
<ModifiedOn>2025-10-25T21:11:51.908461+03:00</ModifiedOn>
<Status>8</Status>
<d2p1:Brand>sample string 2</d2p1:Brand>
<d2p1:CompanyId>6</d2p1:CompanyId>
<d2p1:DrivingLicenseTypes>sample string 5</d2p1:DrivingLicenseTypes>
<d2p1:FuelType>1</d2p1:FuelType>
<d2p1:GearType>1</d2p1:GearType>
<d2p1:Model>sample string 3</d2p1:Model>
<d2p1:ModelYear>sample string 4</d2p1:ModelYear>
<d2p1:Plate>sample string 1</d2p1:Plate>
</d2p1:VehicleResponseModel>
</Data>
<Exception>sample string 3</Exception>
<Message>sample string 2</Message>
<Response>true</Response>
</ResultModelOfArrayOfVehicleResponseModelIjrq4xa9>