PUT residentapi/vehicles/{id}
Update a vehicle
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
(Required) VehicleId |
integer |
Required |
Body Parameters
VehicleUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleId |
VehicleId. Unique Identifier for the vehicle. |
integer |
None. |
| Make |
Make |
string |
Required |
| Model |
Model |
string |
Required |
| TagNumber |
TagNumber |
string |
Required |
| Color |
Color |
string |
Required |
| Year |
Year |
string |
Required |
| RegistrationState |
RegistrationState |
string |
Required |
| InsuranceCompany |
InsuranceCompany |
string |
None. |
| InsurancePolicyNumber |
InsurancePolicyNumber |
string |
None. |
| TypeId |
TypeId - see GET residentapi/vehicletypes/{typeId} |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"vehicleId": 1,
"make": "sample string 2",
"model": "sample string 3",
"tagNumber": "sample string 4",
"color": "sample string 5",
"year": "sample string 6",
"registrationState": "sample string 7",
"insuranceCompany": "sample string 8",
"insurancePolicyNumber": "sample string 9",
"typeId": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.