PUT api/customer/vehicle/{vehicleId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vehicleId | integer |
Required |
Body Parameters
VehicleInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| RegNumber | string |
None. |
|
| Plate | string |
None. |
|
| ModelType | string |
None. |
|
| ModelYear | integer |
None. |
|
| DivisionId | integer |
None. |
|
| DefaultTripTypePrivate | boolean |
None. |
|
| Odometer | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RegNumber": "sample string 2",
"Plate": "sample string 3",
"ModelType": "sample string 4",
"ModelYear": 1,
"DivisionId": 5,
"DefaultTripTypePrivate": true,
"Odometer": 7
}
application/xml, text/xml
Sample:
<VehicleInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Models"> <DefaultTripTypePrivate>true</DefaultTripTypePrivate> <DivisionId>5</DivisionId> <Id>1</Id> <ModelType>sample string 4</ModelType> <ModelYear>1</ModelYear> <Odometer>7</Odometer> <Plate>sample string 3</Plate> <RegNumber>sample string 2</RegNumber> </VehicleInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>