PUT api/vehicles/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | decimal number |
Required |
Body Parameters
vehicles| Name | Description | Type | Additional information |
|---|---|---|---|
| vehicleID | decimal number |
None. |
|
| vehicle | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"vehicleID": 1.0,
"vehicle": "sample string 2"
}
text/html
Sample:
{"vehicleID":1.0,"vehicle":"sample string 2"}
application/xml, text/xml
Sample:
<vehicles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWD_WEB.Models"> <vehicle>sample string 2</vehicle> <vehicleID>1</vehicleID> </vehicles>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.