Maybe you can do something with this example-file. The data in the example is metric, but that's because google knows where you are. I expect that in the USA and a US-localized system it'll be in ANSI.
In this example you can add up to 7 waypoints between the origin and the destination.
Let me know if it helps you or if you have questions.