Dispatch: UpdateRouteUpdates an existing Route

See Also

Usage Notes

<location id="#" name="" pickups="" dropoffs="" delay="#" notes="" />
<point name="" latitude="#" longitude="#" pickups="" dropoffs="" delay="#" notes="" />
<address name="" pickups="" dropoffs="" delay="#" notes="">
street address

If you pass a blank DestinationsXml, then the Route destinations will not be re-calculated.

Example of Returned Data

<UpdateRoute Success="?" Message="" />

Test Method

RouteIDint32Unique route identifier
FleetIDint32Unique fleet identifier
NamestringName of the Route
DirectionsbooleanReserved for future use
AvoidTollsbooleanAttempt to bypass toll-roads (not guaranteed)
AvoidHighwaysbooleanAttempt to bypass highways (not guaranteed)
AdHocbooleanTemporary Route which is automatically deleted when the Device is unassigned
OptimizebooleanSolve in-between destinations for "Travelling Salesman" problem
ColourcharMust be a Char listed by APIZoneColours
LateThresholdint32The amount of time elapsed after a Device fails to reach a destination on time (in seconds)
EarlyThresholdint32The amount of time before a Device reaches a destination on time (in seconds)
DestinationsXmlstringSee Usage Notes.
A string to represent the stops in a route.