PUT UpdateVehicle
Get storage card and update parameters.
Request Information
URI Parameters
None.
Body Parameters
VehicleRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId |
Id of vehicle, only required for PUT requests |
globally unique identifier |
None. |
| LicensePlate |
License plate |
string |
Max length: 15 |
| CustomerPlate |
Customer license plate |
string |
Max length: 15 |
| VehicleIdentification |
VIN |
string |
Max length: 30 |
| EuNumber |
EU identification number |
string |
Max length: 50 |
| CustomerID |
Id of customer, optional |
globally unique identifier |
None. |
| ContactID |
Id of contact, optional |
globally unique identifier |
None. |
| Make |
Make of vehicle e.g. Volvo |
string |
Max length: 100 |
| Model |
Model of the vehicle e.g. XC90 |
string |
Max length: 100 |
| YearModel |
Model year e.g. 2020 |
string |
Max length: 20 |
| Colour |
Colour of the vehicle |
string |
Max length: 20 |
| VehicleTypeID |
Vehicle type id, optional |
globally unique identifier |
None. |
| Odometer |
Odometer, optional |
integer |
None. |
| EnginePowerKw |
Engine power in kilo watt, optional |
decimal number |
None. |
| Weight |
Optional |
integer |
None. |
| TotalWeight |
Optional |
integer |
None. |
| MaxLoadWeight |
Optional |
integer |
None. |
| TrailerWeight |
Optional |
integer |
None. |
| NumberOfAxles |
Optional |
integer |
None. |
| Note |
Optional |
string |
None. |
| TopSpeed |
Optional |
integer |
None. |
| EUVehicleCategory |
Optional |
string |
Max length: 50 |
| FrontAxleLoad |
Optional |
integer |
None. |
| ReartAxleLoad |
Optional |
integer |
None. |
| ModelCode |
Optional |
string |
Max length: 50 |
| BusClass |
Optional |
string |
Max length: 50 |
| VehicleTypeCode |
Optional |
string |
Max length: 50 |
| VehicleTypeClass |
Optional |
string |
Max length: 50 |
| GroupNumber |
Optional |
string |
Max length: 50 |
| TradeName |
Optional |
string |
Max length: 50 |
| ModelNumber |
Optional |
string |
Max length: 50 |
| EngineNumber |
Optional |
string |
Max length: 50 |
| VehicleYear |
Optional |
string |
Max length: 50 |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
{
"VehicleId": "57d57e09-d231-4109-b871-b931bc42d31b",
"LicensePlate": "sample string 1",
"CustomerPlate": "sample string 2",
"VehicleIdentification": "sample string 3",
"EuNumber": "sample string 4",
"CustomerID": "fed55356-294f-46f7-8db9-b680e560e73a",
"ContactID": "1d955305-d8e2-4749-8329-7784442b2924",
"Make": "sample string 5",
"Model": "sample string 6",
"YearModel": "sample string 7",
"Colour": "sample string 8",
"VehicleTypeID": "ec29cc60-946c-40bf-9e68-940299221b9c",
"Odometer": 1,
"EnginePowerKw": 1.0,
"Weight": 1,
"TotalWeight": 1,
"MaxLoadWeight": 1,
"TrailerWeight": 1,
"NumberOfAxles": 1,
"Note": "sample string 9",
"TopSpeed": 1,
"EUVehicleCategory": "sample string 10",
"FrontAxleLoad": 1,
"ReartAxleLoad": 1,
"ModelCode": "sample string 11",
"BusClass": "sample string 12",
"VehicleTypeCode": "sample string 13",
"VehicleTypeClass": "sample string 14",
"GroupNumber": "sample string 15",
"TradeName": "sample string 16",
"ModelNumber": "sample string 17",
"EngineNumber": "sample string 18",
"VehicleYear": "sample string 19"
}
application/xml, text/xml
<VehicleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel"> <BusClass>sample string 12</BusClass> <Colour>sample string 8</Colour> <ContactID>1d955305-d8e2-4749-8329-7784442b2924</ContactID> <CustomerID>fed55356-294f-46f7-8db9-b680e560e73a</CustomerID> <CustomerPlate>sample string 2</CustomerPlate> <EUVehicleCategory>sample string 10</EUVehicleCategory> <EngineNumber>sample string 18</EngineNumber> <EnginePowerKw>1</EnginePowerKw> <EuNumber>sample string 4</EuNumber> <FrontAxleLoad>1</FrontAxleLoad> <GroupNumber>sample string 15</GroupNumber> <LicensePlate>sample string 1</LicensePlate> <Make>sample string 5</Make> <MaxLoadWeight>1</MaxLoadWeight> <Model>sample string 6</Model> <ModelCode>sample string 11</ModelCode> <ModelNumber>sample string 17</ModelNumber> <Note>sample string 9</Note> <NumberOfAxles>1</NumberOfAxles> <Odometer>1</Odometer> <ReartAxleLoad>1</ReartAxleLoad> <TopSpeed>1</TopSpeed> <TotalWeight>1</TotalWeight> <TradeName>sample string 16</TradeName> <TrailerWeight>1</TrailerWeight> <VehicleId>57d57e09-d231-4109-b871-b931bc42d31b</VehicleId> <VehicleIdentification>sample string 3</VehicleIdentification> <VehicleTypeClass>sample string 14</VehicleTypeClass> <VehicleTypeCode>sample string 13</VehicleTypeCode> <VehicleTypeID>ec29cc60-946c-40bf-9e68-940299221b9c</VehicleTypeID> <VehicleYear>sample string 19</VehicleYear> <Weight>1</Weight> <YearModel>sample string 7</YearModel> </VehicleRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.