GET apioauth/v4/latestlocation?serviceIdList={serviceIdList}
Get a list of latest locations for a list of service ids
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serviceIdList |
A comma separated list of service ids to query eg 18421,1235,9871. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of Location details
Collection of LocationName | Description | Type | Additional information |
---|---|---|---|
ServiceId |
The service id of the unit which the location belongs to |
unsigned integer |
None. |
GPSLatitude |
The latitude in degrees |
decimal number |
None. |
GPSLongitude |
The longitude in degrees |
decimal number |
None. |
GeoStreet |
The street where the service is located |
string |
None. |
GeoTown |
The town where the service is located |
string |
None. |
GeoCountry |
The country where the service is located |
string |
None. |
GeoPostcode |
The postcode where the service is located |
string |
None. |
IgnitionState |
A flag to indicate if the ignition is currently on |
boolean |
None. |
GPSTime |
The time in UTC when this position was recorded |
date |
None. |
GPSSpeed |
The vehicle speed in MPH |
decimal number |
None. |
GPSHeading |
The GPS Heading |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.