developer:soap-1.3:methods:searchcustomerscount

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:searchcustomerscount [2010/06/02 09:25]
hmcgowan created
developer:soap-1.3:methods:searchcustomerscount [2010/08/31 16:46]
irina
Line 73: Line 73:
 </​code>​ </​code>​
  
 +==== .NET C# ====
 +<code c>
 + ​Boolean matchAll;
 +            matchAll = true;
  
 +            string[] fields = new string[3];
 +            usaepay.SearchParam[] search = new usaepay.SearchParam[2];​
 +            search[0] = new usaepay.SearchParam();​
 +
 +            search[0].Field = "​Created";​
 +            search[0].Type = "​Contains";​
 +            search[0].Value = "​2010-08-30";​
 +
 +            usaepay.CustomerSearchResult response = new usaepay.CustomerSearchResult();​
 +
 +            try
 +            {
 +                response = client.searchCustomersCount(token,​ search, matchAll, "​0",​ "​10",​ "​fname"​);​
 +
 +                MessageBox.Show(response.CustomersMatched);​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.3/methods/searchcustomerscount.txt ยท Last modified: 2010/10/07 16:39 by irina

Page Tools