PUT AssignStateVehicles

Assigns the given state to the specified vehicles.

Request Information

URI Parameters

None.

Body Parameters

VehicleAssignStateDto
NameDescriptionTypeAdditional information
Ids

Collection of globally unique identifier

None.

State

VehicleStateEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    "174bdb13-9a12-464e-be52-e2f9c9fda717",
    "370c0908-ec72-487a-ad1f-ff57a1a20b70"
  ],
  "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>174bdb13-9a12-464e-be52-e2f9c9fda717</d2p1:guid>
    <d2p1:guid>370c0908-ec72-487a-ad1f-ff57a1a20b70</d2p1:guid>
  </Ids>
  <State>Operational</State>
</VehicleAssignStateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.