LegacyTelogisServiceCreateUnit Method |
Print this page
Creates an Verizon Connect Fleet unit, positioned at LAX.
Namespace: Telogis.API Syntax public long CreateUnit(
string name,
UnitType type,
double odometer,
double engineHours,
Property[] properties
)
Public Function CreateUnit (
name As String,
type As UnitType,
odometer As Double,
engineHours As Double,
properties As Property()
) As Long
Parameters
- name
- Type: SystemString
The name of the unit.
- type
- Type: Telogis.APIUnitType
The hardware type of the unit.
- odometer
- Type: SystemDouble
Odometer in radians.
- engineHours
- Type: SystemDouble
Total engine hours.
- properties
- Type: Telogis.APIProperty
Return Value
Type:
Int64
The ID of the created Unit.
See Also