title: Passing through lists from jQuery to the service
body: <p>I'm sure I've done this in another solution, but I can't seem to find any solution as to do it again and wondered if anyone can help me...</p>
  
  <p>This is my WebAPI code:</p>
  
  <pre><code>public class WebController : ApiController
  {
          public void Get(string telephone, string postcode, List&lt;Client&gt; clients)
          {
  
          }
  }
  </code></pre>
  
  <p>And, calling this from jQuery:</p>
  
  <pre><code>    function Client(name, age) {
              this.Name = name;
              this.Age = age;
      }
  
      var Clients = [];
      Clients.push(new Client("Chris", 27));
  
      $.ajax({
          url: "/api/Web/",
          data: { telephone: "999", postcode: "xxx xxx", clients: Clients }
      });
  </code></pre>
  
  <p>But the "clients" object always comes back as null. I've also tried <code>JSON.stringify(Clients)</code>, and this is the same result. Can anyone see anything obvious I'm missing here?</p>