I am converting some of my services to Web API2 and I have some functions which take 2 or 3 parameters. How are those routing attributes constructed?
When I call the function from the old service in javascript its
data: { "symboltype": symboltype, "symbol": symb, "requestDate": dDate}
I've tried the following routing attribute among other variations, which dont work
<HttpGet()> _
<Route("getsinglerangeprojection/{symboltype:int,symbol,requestdate}")> _
Public Function GetSingleRangeProjection(ByVal symboltype As Integer,
ByVal symbol As String,
ByVal requestDate As String) As ProjectedRange
...code here
End Function