developer:soap-1.3:methods:searchcustomers

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:searchcustomers [2010/06/02 09:22]
hmcgowan created
developer:soap-1.3:methods:searchcustomers [2010/08/31 16:42]
irina
Line 80: Line 80:
 </​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.searchCustomers(token,​ search, matchAll, "​0",​ "​10",​ "​fname"​);​
 +
 +                MessageBox.Show(response.CustomersMatched);​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +
 +</​code>​
  
  
developer/soap-1.3/methods/searchcustomers.txt ยท Last modified: 2010/10/07 16:36 by irina

Page Tools