I would like to provide a ASP.Net Web API that can be called by the following formats:

> 
> http
>  ://myApiServer/API/MyLookupMethod/GetForIVR/PhoneNumber/8005551212
> 
> 
> 

or

> 
> http
>  ://myApiServer/API/MyLookupMethod/GetForIVR?LookupType=PhoneNumber&LookUpValue=8005551212
> 
> 
> 

Is it possible to set up a route that works with either call?

My current route is

```
config.Routes.MapHttpRoute(
name:"MyRoute",
routeTemplate:"api/{controller}/{action}/{Lookuptype}/{lookupvalue}"
);

```