GET api/v4/grouplatestlocation?userID={userID}&token={token}&groupID={groupID}
Get a list of locations for a group id
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| userID | 
                         The user id being used for authentication  | 
                    unsigned integer | 
                                 Required  | 
                
| token | 
                         The token being used for authentication  | 
                    string | 
                                 Required  | 
                
| groupID | 
                         The group id being queried  | 
                    unsigned integer | 
                                 Required  | 
                
Body Parameters
None.
Response Information
Resource Description
A list of Location details
Collection of Location| Name | 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.