Dispatch using Lat/Lon Only (XML)
XML Request
The follwing request uses Lattiude/Longitude for Vehicle start and finish locations and for stops.
<DispatchSpecification>
<IsNeedMatchCode>false</IsNeedMatchCode>
<CurrentTime>0001-01-01T00:00:00</CurrentTime>
<DispatchMode>Auto</DispatchMode>
<MinimumOptimization>1</MinimumOptimization>
<DistanceUnit>Mile</DistanceUnit>
<Vehicles>
<Vehicle>
<Name>V1</Name>
<Speed>100</Speed>
<MaxStops>0</MaxStops>
<MaxWeight>180</MaxWeight>
<MaxSkids>0</MaxSkids>
<MaxVolume>0</MaxVolume>
<MaxMinutes>0</MaxMinutes>
<OnTheRoad>false</OnTheRoad>
<Tin>0001-01-01T00:00:00</Tin>
<Tout>0001-01-01T00:00:00</Tout>
<StartLocation>
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
</StartLocation>
<FinishLocation>
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
</FinishLocation>
</Vehicle>
</Vehicles>
<Locations>
<Location>
<Name>Drop01</Name>
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<LocationType>MidwayDrop</LocationType>
</Location>
<Location>
<Name>0001</Name>
<LatLong>
<Latitude>42.189149</Latitude>
<Longitude>-73.365788</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
<Location>
<Name>0002</Name>
<LatLong>
<Latitude>42.170298</Latitude>
<Longitude>-73.380508</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
<Location>
<Name>0003</Name>
<LatLong>
<Latitude>42.180726</Latitude>
<Longitude>-73.365836</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
<Location>
<Name>0004</Name>
<LatLong>
<Latitude>42.168843</Latitude>
<Longitude>-73.364452</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
<Location>
<Name>0005</Name>
<LatLong>
<Latitude>42.170393</Latitude>
<Longitude>-73.36316</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
<Location>
<Name>0006</Name>
<LatLong>
<Latitude>42.177239</Latitude>
<Longitude>-73.35206</Longitude>
</LatLong>
<Weight>50</Weight>
</Location>
</Locations>
</DispatchSpecification>
XML Response
<DispatchResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Errors />
<Status>Success</Status>
<Items>
<VehicleItem>
<Vehicle>
<Name>V1</Name>
<Email />
<Group />
<Speed>100</Speed>
<MaxWeight>180</MaxWeight>
</Vehicle>
<Locations>
<Location>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>Start</LocationType>
<Distance>0.62994611469020911</Distance>
<Time>112</Time>
</Location>
<Location>
<Name>0001</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.189149</Latitude>
<Longitude>-73.365788</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>1.6304780084307644</Distance>
<Time>256</Time>
</Location>
<Location>
<Name>0006</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.177239</Latitude>
<Longitude>-73.35206</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>1.0086097192396404</Distance>
<Time>176</Time>
</Location>
<Location>
<Name>0003</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.180726</Latitude>
<Longitude>-73.365836</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>1.1386005726556907</Distance>
<Time>170</Time>
</Location>
<Location>
<Name>Drop01</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>MidwayDrop</LocationType>
</Location>
<Location>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>Finish</LocationType>
</Location>
</Locations>
</VehicleItem>
<VehicleItem>
<Vehicle>
<Name>V1_2</Name>
<Email />
<Group />
<Speed>100</Speed>
<MaxWeight>180</MaxWeight>
</Vehicle>
<Locations>
<Location>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>Start</LocationType>
<Distance>1.9009608884116755</Distance>
<Time>261</Time>
</Location>
<Location>
<Name>0005</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.170393</Latitude>
<Longitude>-73.36316</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>0.11650709854450012</Distance>
<Time>92</Time>
</Location>
<Location>
<Name>0004</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.168843</Latitude>
<Longitude>-73.364452</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>2.72589328322596</Distance>
<Time>365</Time>
</Location>
<Location>
<Name>0002</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.170298</Latitude>
<Longitude>-73.380508</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<Weight>50</Weight>
<Distance>1.9713001073729417</Distance>
<Time>279</Time>
</Location>
<Location>
<Name>Drop01</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>MidwayDrop</LocationType>
</Location>
<Location>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>42.190377</Latitude>
<Longitude>-73.372059</Longitude>
</LatLong>
<Address>
<Street />
<City />
<State />
<PostalCode />
<Country />
</Address>
<LocationType>Finish</LocationType>
</Location>
</Locations>
</VehicleItem>
</Items>
</DispatchResult>