title: Adding Filters to Magento Web Services API
body: <p>I am trying to call the Magento SOAP API and get a list of orders within a certain time period. I can connect to API and get a list of all the orders just fine but I can't (for the life of me) figure out how to filter the results... Any ideas? My Code that return all the orders is below...</p>
  
  <pre><code>$proxy = new SoapClient('http://lalala.freelunchlabs.com/api/v2_soap/?wsdl');
  
  // create authorized session id using api user name and api key
  $sessionId = $proxy-&gt;login('myusername', 'mypassword');
  
  $filters = array(
      'created_at' =&gt; array( '&gt;' =&gt; '2011-04-21 02:13:00'),
      'created_at' =&gt; array( '&lt;' =&gt; '2011-04-21 02:22:00')
  );
  
   // Get order list
  $orderinfo = $proxy-&gt;salesOrderList($sessionId,array($filters));
  
  print_r($orderinfo);
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Chuck</p>