Thanks for this kind post and appreciate that we made it easy for you. Hope that Java does not bite you further 
If I understood it correctly you can use the edge IDs to identify same parts of a route. To return this please have a look into the path details and use details=edge_id
Please keep in mind that edge IDs change if you ever update the graph (e.g. to import a new PBF)