LegacyTelogisServiceGetUnitHistory Method |
Print this page
Get the history for a Unit (typically a vehicle) over a specified time period.
Namespace: Telogis.API Syntax public Point[] GetUnitHistory(
long unitId,
DateTime start,
DateTime end
)
Public Function GetUnitHistory (
unitId As Long,
start As DateTime,
end As DateTime
) As Point()
Parameters
- unitId
- Type: SystemInt64
ID of the unit
- start
- Type: SystemDateTime
Start time - in the timezone of the account being used
- end
- Type: SystemDateTime
End time - in the timezone of the account being used
Return Value
Type:
Point
An ordered array of
Point
objects representing the
Unit
's
history over the specified time period, in the timezone of the account being used.
Examples See Also