developer:soap-1.3:methods:searchproducts

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer:soap-1.3:methods:searchproducts [2010/08/09 13:38]
epouchak
developer:soap-1.3:methods:searchproducts [2010/09/01 16:41]
irina
Line 161: Line 161:
 </​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.searchProducts(token,​ param, matchAll, start, limit, sort);
 +                MessageBox.Show(string.Concat(response.ProductsMatched));​
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== Coldfusion ==== ==== Coldfusion ====
developer/soap-1.3/methods/searchproducts.txt ยท Last modified: 2010/10/12 16:41 by irina

Page Tools