Dispatch: GetRouteByDeviceGets the full route (including turn-by-turn, polyline, and notifications) to which the Device has been assigned

See Also

Example of Returned Data

<GetRouteByDevice Success="?" Message="">
<Route ID="#" DeviceID="#" FleetID="#" Name="" GMTUpdated="yyyy-MM-dd HH:mm:ss.fff" Distance="#" Duration="#" Copyrights="" TurnByTurn="?" AvoidTolls="?" AvoidHighways="?" LateThreshold="#" EarlyThreshold="#" Adhoc="?" Colour="" Notes="">
<Polyline North="#" East="#" South="#" West="#">
lat1,lng1 lat2,lng2 latN,lngN
</Polyline>
<Origin Name="" Address="" Latitude="#" Longitude="#" LocationID="#" Pickups="" Dropoffs="" ConfirmedPickups="" ConfirmedDropoffs="" Completed="?" Confirmed="?" ETA="yyyy-MM-dd HH:mm:ss.fff" TimeOnSite="#" Notes="" />
<Direction StartDestinationIndex="#" EndDestinationIndex="#" Distance="#" Duration="#" Steps="#">
<Step StartPolylineIndex="#" EndPolylineIndex="#" Distance="#" Duration="#">
<Instructions>
xhtml
</Instructions>
</Step>
<!-- etc -->
</Direction>
<Destination Name="" Address="" Latitude="#" Longitude="#" LocationID="#" Pickups="" Dropoffs="" ConfirmedPickups="" ConfirmedDropoffs="" Completed="?" Confirmed="?" ETA="yyyy-MM-dd HH:mm:ss.fff" TimeOnSite="#" Notes="" />
<Direction StartDestinationIndex="#" EndDestinationIndex="#" Distance="#" Duration="#" Steps="#">
<Step StartPolylineIndex="#" EndPolylineIndex="#" Distance="#" Duration="#">
<Instructions>
xhtml
</Instructions>
</Step>
<!-- etc -->
</Direction>
<!-- etc -->
</Route>
</GetRouteByDevice>

Test Method

ParameterValueTypeUsage
DeviceIDint32Unique device identifier