Dispatch using Address Only (XML)
The following request uses Address for Vehicle start/finish locations and for stops.
Dispatch using Address Only (XML)
XML Request
The following request uses Address for Vehicle start/finish locations and for stops.
<DispatchSpecification>
<IsNeedMatchCode>true</IsNeedMatchCode>
<CurrentTime>0001-01-01T00:00:00</CurrentTime>
<DispatchMode>Auto</DispatchMode>
<MinimumOptimization>4</MinimumOptimization>
<DistanceUnit>Mile</DistanceUnit>
<Vehicles>
<Vehicle>
<Name>V1</Name>
<Speed>0</Speed>
<MaxStops>0</MaxStops>
<MaxWeight>0</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>
<Address>
<Street>6718 Whittier Avenue</Street>
<City>McLean</City>
<State>VA</State>
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
</StartLocation>
<FinishLocation>
<Address>
<Street>1309 Vincent Place</Street>
<City>McLean</City>
<State>VA</State>
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
</FinishLocation>
</Vehicle>
</Vehicles>
<Locations>
<Location>
<Name>Stop A</Name>
<Address>
<Street>1450 Chain Bridge Road</Street>
<City>McLean</City>
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
</Location>
<Location>
<Name>Stop B</Name>
<Address>
<Street>1309 Vincent Place</Street>
<City>McLean</City>
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
</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 />
</Vehicle>
<Locations>
<Location>
<MatchCode>Exact</MatchCode>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>38.931594</Latitude>
<Longitude>-77.17602</Longitude>
</LatLong>
<Address>
<Street>6718 Whittier Avenue</Street>
<City>McLean</City>
<State />
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
<LocationType>Start</LocationType>
<Distance>0.31000208780720589</Distance>
<Time>62</Time>
</Location>
<Location>
<MatchCode>Good</MatchCode>
<Name>Stop A</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>38.9321192</Latitude>
<Longitude>-77.179751</Longitude>
</LatLong>
<Address>
<Street>1450 Chain Bridge Road</Street>
<City>McLean</City>
<State />
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
<Distance>0.481749085341605</Distance>
<Time>93</Time>
</Location>
<Location>
<MatchCode>Exact</MatchCode>
<Name>Stop B</Name>
<Delivery />
<Vehicle />
<Description />
<Phone />
<LatLong>
<Latitude>38.937025</Latitude>
<Longitude>-77.17933</Longitude>
</LatLong>
<Address>
<Street>1309 Vincent Place</Street>
<City>McLean</City>
<State />
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
</Location>
<Location>
<MatchCode>Exact</MatchCode>
<Name>V1</Name>
<Delivery />
<Vehicle />
<Phone />
<LatLong>
<Latitude>38.937025</Latitude>
<Longitude>-77.17933</Longitude>
</LatLong>
<Address>
<Street>1309 Vincent Place</Street>
<City>McLean</City>
<State />
<PostalCode>22101</PostalCode>
<Country>US</Country>
</Address>
<LocationType>Finish</LocationType>
</Location>
</Locations>
</VehicleItem>
</Items>
</DispatchResult>