Substitute in the new version

the viaroute option is no longer supported…
Is route request with steps options is the one I need to use ?
If so - it does not generate the same information…
in the old version with viaroute - it worked perfect.
What am I doing wrong ???
Thank you !!!

Can you explain in a bit more detail what this question is actually about?

This looks like an OSRM question. Yes, you do need to use the /route endpoint with the 5.x API.