public IHttpActionResult Get([FromUri] string userId) { //return Ok(new Uri(Request.RequestUri, RequestContext.VirtualPathRoot)); //returns //http://devmapi.cashbackresearch.com/ try { var manager = new RouterManager(); RouterReturnContainer r = manager.GetUserSurveys(Guid.Parse(userId), Utility.GetClientIpAddress()); return(Ok(r.RouterReturnList)); } catch (Exception e) { return(Ok(e.Message)); return(InternalServerError(e)); } }