create route through x++

Hello friends,

Does anyone of you have code sample to create route through x++? It would be nice if you could help me in this.

Best regards,

Roberts