| 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
)
public:
List<VehicleLocation^>^ GetCurrent(
String^ token,
String^ device,
String^ date
)
function GetCurrent(token, device, 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:
ListVehicleLocationList of vehicles
See Also