In Web API (by default) methods are chosen based on a combination of HTTP method and route values.
MyVm
looks like a complex object, read by formatter from the body so you have two identical methods in terms of route data (since neither of them has any parameters from the route) - which makes it impossible for the dispatcher (IHttpActionSelector
) to match the appropriate one.
You need to differ them by either querystring or route parameter to resolve ambiguity.