We are using rest services (NA Services) to Solve Route , As we know there is no built in functionality to find Alternate Route , we achieve this by using a logic i.e the initial route we get after solving route we pass that same with added cost as line cost restriction so we get alternate route
But due to some reason we have moved to other service as shown in picture, we have published this Find Route tool, it is working fine but when I pass cost barrier as an attribute (barrierType : 1 ) its not working properly