developer:soap-1.3:methods:searchcustomers

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:searchcustomers [2010/06/02 09:22]
hmcgowan created
developer:soap-1.3:methods:searchcustomers [2010/10/07 16:36]
irina
Line 80: Line 80:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim matchAll As Boolean
 +        matchAll = True
 + 
 +        Dim search(0) As usaepay.SearchParam
 + 
 +        search(0) = New usaepay.SearchParam()
 + 
 +        search(0).Field = "​Created"​
 +        search(0).Type = "​Contains"​
 +        search(0).Value = "​2010-09-09"​
 + 
 +        Dim response As usaepay.CustomerSearchResult = New usaepay.CustomerSearchResult
 + 
 +        response = client.searchCustomers(token,​ search, matchAll, "​0",​ "​10",​ "​fname"​)
 +        MsgBox(response.CustomersMatched)
 +
 +
 +</​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