Click or drag to resize
ParaPlan Logo

GPSServiceGetCurrent Method

Get the current location of all active vehicles

Send GET request to restURL/GPSService/GPS/GetCurrent/?Token={token}&Device={device}&Date={date}

Namespace:  ParaPlanREST
Assembly:  ParaPlanREST (in ParaPlanREST.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public List<VehicleLocation> GetCurrent(
	string token,
	string device,
	string date
)

Parameters

token
Type: SystemString
Token from API Login
device
Type: SystemString
Device name used when logging into API
date
Type: SystemString
The date to get data for. Should be in a format that can be parsed by .NET DateTime.Parse

Return Value

Type: ListVehicleLocation
List of vehicles
See Also