OS1 Services
Movement Tracking System
MTS ETA
4 min
overview the mts eta (estimated time of arrival) service enables developers to get the estimated travel time and distance between a source and destination it leverages third party mapping services for accurate etas calculated based on real time traffic, historical data, and routing key features get estimated time of arrival (eta) for routes specify source & destination as coordinates or addresses integrated with google maps for traffic aware etas how it works the eta service integrates with google maps to determine travel time between locations retrieve an eta between two geolocations the getmapseta endpoint let's developers retrieve the eta duration query parameters true 151left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example callback responses address response { "requestid" "1234", "tenantid" "os1devs", "success" true, "etaresponse" { "source" { "lat" null, "lon" null, "address" "5, sector 44, gurugram, haryana 122001, india" }, "destination" { "lat" null, "lon" null, "address" "millennium city centre gurugram, gurgaon delhi expy, sector 29, gurugram, haryana 122007, india" }, "distance" 1834, "duration" 325 } } lat/lon response { "requestid" "1234", "tenantid" "os1devs", "success" true, "etaresponse" { "source" { "lat" 28 673980543290554, "lon" 77 08028318182417, "address" null }, "destination" { "lat" 28 661782, "lon" 77 083259, "address" null }, "distance" 1726, "duration" 303 } } after processing an eta request, the api sends a response to a specified callback url see the provided sample response structure with a description of each field true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type