PUT Api/v1/Vehicles/BulkUpdate

Update a colleciton of vehicles.

Request Information

URI Parameters

None.

Body Parameters

BulkVehicleCommand
NameDescriptionTypeAdditional information
Updates

Collection of VehicleCommand

None.

Request Formats

application/json, text/json

Sample:
{
  "updates": [
    {
      "number": "sample string 1",
      "licensePlate": "sample string 2",
      "odometer": 3.0,
      "trailer": "sample string 4",
      "terminal": "sample string 5",
      "organizationId": 1,
      "overrideCompanyAutoDutyStatusSetting": true,
      "autoDutyStatusDisabled": true,
      "hosEnabled": true,
      "changingHosEnabled": true
    },
    {
      "number": "sample string 1",
      "licensePlate": "sample string 2",
      "odometer": 3.0,
      "trailer": "sample string 4",
      "terminal": "sample string 5",
      "organizationId": 1,
      "overrideCompanyAutoDutyStatusSetting": true,
      "autoDutyStatusDisabled": true,
      "hosEnabled": true,
      "changingHosEnabled": true
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.