POST Vehicle/UpdateVehicleCollectionSettings/{id}

Update vehicle collection settings

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

VehicleID

string

Required

Body Parameters

VehicleCollectionSettingsParams
NameDescriptionTypeAdditional information
VehicleID

integer

None.

VehiclCollectionStatus

integer

None.

isLocationStreamingEnabled

integer

None.

VehiclePerformanceMinutes

integer

None.

VehicleDriveSleepms

integer

None.

VehicleSleepOverride

integer

None.

VehicleCollectionIntervalSeconds

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleID": 1,
  "VehiclCollectionStatus": 2,
  "isLocationStreamingEnabled": 3,
  "VehiclePerformanceMinutes": 4,
  "VehicleDriveSleepms": 5,
  "VehicleSleepOverride": 6,
  "VehicleCollectionIntervalSeconds": 7
}

application/xml, text/xml

Sample:
<VehicleCollectionSettingsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <VehiclCollectionStatus>2</VehiclCollectionStatus>
  <VehicleCollectionIntervalSeconds>7</VehicleCollectionIntervalSeconds>
  <VehicleDriveSleepms>5</VehicleDriveSleepms>
  <VehicleID>1</VehicleID>
  <VehiclePerformanceMinutes>4</VehiclePerformanceMinutes>
  <VehicleSleepOverride>6</VehicleSleepOverride>
  <isLocationStreamingEnabled>3</isLocationStreamingEnabled>
</VehicleCollectionSettingsParams>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VehicleCollectionSettingsParams'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.