title: Accepting multiple parameters in MVC 4 Web API controller and mapping to custom methods
body: <p>I'm trying to implement a Web API project that exposes some models. However, the way the model is retrieved isn't very RESTful. </p>
  
  <p>1.
  Instead of having just one ID, it has a combination of 4 different ones to populate the model data by running a stored proc on the server.</p>
  
  <pre><code>Dim balance as New BalanceSheet(uid, mid, eid, fid)
  </code></pre>
  
  <p>The snippet above will use <code>uid</code>, <code>mid</code>, <code>eid</code>, <code>fid</code> to retrieve the correct record from the database.</p>
  
  <p>How would I implement this in the controller so that <code>/api/Balance?uid=1&amp;mid=2&amp;eid=3&amp;fid=4</code> maps to <code>GetBalance(ByVal uid As Integer, ByVal mid As Integer, ByVal eid As Integer, ByVal fid As Integer)</code> </p>
  
  <p>2.
  Additionallly, I want to be able to filter specific members of BalanceSheet model or get some preprocessed object return like so:
  <code>/api/Balance/FundCredit?uid=1&amp;mid=2&amp;eid=3&amp;fid=4</code> maps to <code>GetFundcredit(ByVal uid As Integer, ByVal mid As Integer, ByVal eid As Integer, ByVal fid As Integer)</code></p>