title: TFS 2015 On Premise REST API 404 searching test runs or results
body: <p>Using the TFS 2015 REST API to try to get test runs and results with 404. When fetching projects or teams it works fine.</p>
  
  <pre><code>var uri = $"http://tfsserver:8080/tfs/project/_apis/test/runs/1994/results"; 
  
  using (WebClient wc = new WebClient())
  {
      wc.UseDefaultCredentials = true;
      wc.Credentials = CredentialCache.DefaultCredentials;
      var result = wc.DownloadString(uri);
      Console.WriteLine(result);
  }
  Console.Read();
  </code></pre>
  
  <p>The following URLs do not work:  (NOTE: I removed the server portion because of a limitation of stackoverflow)</p>
  
  <p>.../tfs/project/_apis/test/runs</p>
  
  <p>But these do work:</p>
  
  <p>.../tfs/project/_apis/projects/CodedUi/teams
     .../tfs/project/_apis/projects</p>