PUT Equipment

Request Information

URI Parameters

None.

Body Parameters

EquipmentDTO
NameDescriptionTypeAdditional information
Id

integer

None.

EquipmentHeader

EquipmentHeaderDTO

None.

Location

LocationDTO

None.

Angle

integer

None.

EngineRunning

boolean

None.

IsStationary

boolean

None.

EquipmentType

integer

None.

PrivateMode

boolean

None.

HidePrivate

boolean

None.

ConnectedNavigation

boolean

None.

Speed

integer

None.

Description

string

None.

Odometer

decimal number

None.

DriverId

integer

None.

DriverNumber

integer

None.

ExpenseAmountInCents

integer

None.

DriverName

string

None.

WorkingStatus

WorkingStatusDTO

None.

DriverStatus

string

None.

DriverDrivingTime

integer

None.

DriverDrivingTimeCurrentWeek

integer

None.

DriverDrivingTimeCurrentAndPreviousWeek

integer

None.

DriverTimeRelatedState

TimeRelatedStates

None.

CoDriverId

integer

None.

CoDriverName

string

None.

Latency

integer

None.

LastRide

integer

None.

Address

AddressDTO

None.

Group

GroupDTO

None.

MapIconId

integer

None.

MapIconDocumentId

integer

None.

UpdateInterval

integer

None.

IsStatic

boolean

None.

DateExpired

date

None.

HasCertification

boolean

None.

AlwaysShowLabels

boolean

None.

MapDisplayMode

string

None.

ServiceDistanceInKilometers

integer

None.

FuelLevelPercentage

integer

None.

ActiveLampsAndWarnings

string

None.

ActiveDtcs

integer

None.

Tractor

EquipmentResourceDTO

None.

Trailer

EquipmentResourceDTO

None.

FmsSignals

boolean

None.

IsAplicom

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EquipmentHeader": {
    "UnitInstallDateTime": "sample string 1",
    "Make": "sample string 2",
    "Model": "sample string 3",
    "EquipmentID": "sample string 4",
    "SerialNumber": "sample string 5",
    "InitialMileage": 6.0,
    "YearOfManufacture": 7,
    "HasDevice": true,
    "InAppTracking": true,
    "VehicleNumber": 10,
    "HasTachograph": true
  },
  "Location": {
    "Latitude": 1.0,
    "Longitude": 2.0,
    "Altitude": 3.0,
    "DateTime": "sample string 4",
    "DateTimeString": "sample string 4",
    "Remarks": "sample string 5",
    "Reason": "sample string 6",
    "EncodedGeofence": "sample string 7",
    "Radius": 8.1,
    "Type": "Business",
    "AreaType": "Radius"
  },
  "Angle": 2,
  "EngineRunning": true,
  "IsStationary": true,
  "EquipmentType": 5,
  "PrivateMode": true,
  "HidePrivate": true,
  "ConnectedNavigation": true,
  "Speed": 9,
  "Description": "sample string 10",
  "Odometer": 11.0,
  "DriverId": 12,
  "DriverNumber": 13,
  "ExpenseAmountInCents": 14,
  "DriverName": "sample string 15",
  "WorkingStatus": "Driving",
  "DriverStatus": "sample string 16",
  "DriverDrivingTime": 17,
  "DriverDrivingTimeCurrentWeek": 18,
  "DriverDrivingTimeCurrentAndPreviousWeek": 19,
  "DriverTimeRelatedState": "NoTimeRelatedWarningDetected",
  "CoDriverId": 20,
  "CoDriverName": "sample string 21",
  "Latency": 22,
  "LastRide": 23,
  "Address": {
    "Country": "sample string 1",
    "Address": "sample string 2",
    "City": "sample string 3",
    "PostalCode": "sample string 4",
    "Longitude": 5.1,
    "Latitude": 6.1
  },
  "Group": {
    "Id": 1,
    "Code": 2,
    "Name": "sample string 3",
    "Color": "sample string 4"
  },
  "MapIconId": 24,
  "MapIconDocumentId": 25,
  "UpdateInterval": 26,
  "IsStatic": true,
  "DateExpired": "2020-10-06T23:38:10.0750853+02:00",
  "HasCertification": true,
  "AlwaysShowLabels": true,
  "MapDisplayMode": "sample string 30",
  "ServiceDistanceInKilometers": 1,
  "FuelLevelPercentage": 1,
  "ActiveLampsAndWarnings": "sample string 31",
  "ActiveDtcs": 1,
  "Tractor": {
    "Id": 1,
    "LicensePlate": "sample string 2"
  },
  "Trailer": {
    "Id": 1,
    "LicensePlate": "sample string 2"
  },
  "FmsSignals": true,
  "IsAplicom": true
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.