PUT EnableVehicles
Enables or disables vehicles.
Request Information
URI Parameters
None.
Body Parameters
Collection of vehicle id's and the new state enabled/disabled.
Collection of VehicleEnabledDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Enabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "471ae251-5a8e-435d-ad38-00849026c96b",
"Enabled": true
},
{
"Id": "471ae251-5a8e-435d-ad38-00849026c96b",
"Enabled": true
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicleEnabledDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vehicle">
<VehicleEnabledDto>
<Enabled>true</Enabled>
<Id>471ae251-5a8e-435d-ad38-00849026c96b</Id>
</VehicleEnabledDto>
<VehicleEnabledDto>
<Enabled>true</Enabled>
<Id>471ae251-5a8e-435d-ad38-00849026c96b</Id>
</VehicleEnabledDto>
</ArrayOfVehicleEnabledDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.