title: MVC Send list through AJAX
body: <p>Okay, I've seen tons of questions posted regarding this question, but none of the answers has actually worked for me, here's my AJAX:</p>
  
  <pre><code>$.ajax({
          url: "/FilterSessions/GetFilterSession",
          type: "GET",
          dataType: "json",
          data: jsonFilters,
          traditional: true,
          success: function (response) {
              //Haha, it's never entering here. not really.
          }
      });
  </code></pre>
  
  <p>var "jsonFilters" contains an array with the following data:</p>
  
  <pre><code>[0] = { Path: "Test", Name: "More testing", Value: "Test Value" },
  [1] = { Path: "Test", Name: "More testing", Value: "Test Value" } 
  </code></pre>
  
  <p>And this is my controller:</p>
  
  <pre><code>public ActionResult GetFilterSession(List&lt;FilterSessionModel&gt; jsonFilters)
  {
      //Do things
  
      return Json(false, JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>jsonFilters always remains null... I have also tried adding <code>contentType: "application/json; charset=utf-8"</code> to the AJAX call... but that didn't really do anything</p>
  
  <p>Finally, the class <code>FilterSessionModel</code> is structured as follows:</p>
  
  <pre><code> public class FilterSessionModel
      {
          public string Path { get; set; }
          public string Name { get; set; }
          public string Value { get; set; }
      }
  </code></pre>
  
  <p>Any ideas as to what I might be missing or what might be happening?</p>
  
  <p>Things I've tried so far:</p>
  
  <p>Setting "traditional: true", setting "contentType", using JSON.stringify and attempting to accept a string in the MVC Controller (no-go)</p>
  
  <p>UPDATE: Thanks to the answer below I realized that what was missing was to send over the data with the param Id like so:</p>
  
  <pre><code> data: "{param1ID:"+ param1Val+"}"
  </code></pre>