developer:soap-1.3:methods:searchproductscount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.3:methods:searchproductscount [2010/06/01 16:17]
tem created
developer:soap-1.3:methods:searchproductscount [2010/09/01 16:46]
irina
Line 46: Line 46:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 +usaepay.SearchParam[] param = new usaepay.SearchParam[1];​
 +            param[0] = new usaepay.SearchParam();​
 +            param[0].Field = "​Created";​
 +            param[0].Type = "​Contains";​
 +            param[0].Value = "​2010-09-01";​
 +
 +            Boolean matchAll = true;
 +            string start = "​0";​
 +            string limit = "​10";​
 +            string sort = "​created";​
 +
 +            usaepay.ProductSearchResult response = new usaepay.ProductSearchResult();​
 +
 +            try
 +            {
 +                response = client.searchProductsCount(token,​ param, matchAll, start, limit, sort);
 +                MessageBox.Show(string.Concat(response.ProductsMatched));​
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
  
developer/soap-1.3/methods/searchproductscount.txt ยท Last modified: 2010/10/12 16:48 by irina

Page Tools