GET api/v4/latestlocation/{userID}/{token}/{sericeIdList}

Get a list of locations for a list of service ids

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

The user id being used for authentication

unsigned integer

Required

token

The token being used for authentication

string

Required

sericeIdList

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 Location
NameDescriptionTypeAdditional 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.