Currently the following code sample allows you to select a point and navigate to that location. It works great!
It would be great to be able to Identify multiple locations and do a route optimization for all of those points. Better yet ability to easily set a beginning and end location for better optimization.
http://www.arcgis.com/home/item.html?id=400603a90e024f68a267d0ed5e482896