How we can a map a route to the below action get in WEB api with query string is product-Id:347DCYA3-FE25
this is the route configuration
config.Routes.MapHttpRoute("product", "product/{productId}", new { controller = "product", action = "get" });
route
routes.MapRoute("Default", "{controller}/{productId}", new { controller = "product",
action = "get", id = UrlParameter.Optional });
in controller [httpget] public void get (string productId) { }
i have decoded the value product-Id:347DCYA3-FE25 and pass it as query string still it will not take.....