In Web API, there's currently no way to create a link to a path under the app's virtual root. The solution is probably something like:
UrlHelper.Content("~/<path>");
UrlHelper.Content("~/<path>");