Avatar

How to subscribe real time vehicle locations?

0

Hello,

 

Would anyone please point me to some document or paper describing how we can subscribe real time vehicle locations for our backend utilities system? Our system take web service calls with multispeak adapter for AVL. Does geoTab provide web services to send the web service operations to subscriber based on mutispeak adapter?

 

Thanks a lot

Frank

Frank Ning

Please sign in to leave a comment.

3 comments

1
Avatar

Hello Frank, 

Any language or application capable of making HTTP (HyperText Transfer Protocol) requests can be used to pull data from MyGeotab using the Geotab SDK.

Please refer to this link to get started with Geotab SDK.

Specifically, you need to make a Get call against DeviceStatusInfo to pull the latest lat and long values of a vehicle/device.

More information on DeviceStatusInfo can be found here.

Regards

Shivansh

Shivansh Singla 1 vote
0
Avatar

Thanks a lot, Shivansh.  Could you help with the following extra questions?

 

1. This means that we have to have some integration layer which needs to make the request for each concerned vehicle? Is there any way for GeoTab to automatically send the location info to some predefined endpoint pointing to our server?

2. Would you let me know the difference between the RequestLocation and DeviceStatusInfo? Does the RequestLocation respond with the latitude and longitude data for a vehicle?

 

Thanks and request

Frank

Frank Ning 0 votes
0
Avatar

Hi Frank,

If all you need is the locations try GetFeed<LogRecord>. Log record is the GPS position, date and speed of the vehicle as logged by the device. It's not quite "real time" but you can poll at a reasonably short interval to get latest position for all vehicles in a fleet. Much more efficient than Get<DeviceStatusInfo> if you don't need all the extra data it provides.

MyGeotab uses a "poll" rather than "push" approach for "real-time" feeds. Explained in detail here.

Thanks,

Steve

Steve Hansen 0 votes