PUT AssignStateVehicles
Assigns the given state to the specified vehicles.
Request Information
URI Parameters
None.
Body Parameters
VehicleAssignStateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Ids | Collection of globally unique identifier |
None. |
|
| State | VehicleStateEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ids": [
"f1d413f6-fe4d-4070-97e9-68a0503a60ab",
"83d7884c-dfca-46ca-88de-2a2167115ffe"
],
"State": 0
}
application/xml, text/xml
Sample:
<VehicleAssignStateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vehicle">
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f1d413f6-fe4d-4070-97e9-68a0503a60ab</d2p1:guid>
<d2p1:guid>83d7884c-dfca-46ca-88de-2a2167115ffe</d2p1:guid>
</Ids>
<State>Operational</State>
</VehicleAssignStateDto>
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.