developer:soap-1.2:methods:searchcustomerscount

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap-1.2:methods:searchcustomerscount [2010/10/20 11:28]
irina
developer:soap-1.2:methods:searchcustomerscount [2010/10/20 11:28] (current)
irina
Line 78: Line 78:
         matchAll = True         matchAll = True
  
-        Dim search(0 ​To 1) As usaepay.SearchParam+        Dim search(0) As usaepay.SearchParam
  
         search(0) = New usaepay.SearchParam()         search(0) = New usaepay.SearchParam()
  
         search(0).Field = "​Created"​         search(0).Field = "​Created"​
-        search(0).Type = "gt+        search(0).Type = "contains
-        search(0).Value = "2010-10-18"+        search(0).Value = "2010-09-09"
  
-        Dim FieldList(0 To 2) As String+        Dim response ​As usaepay.CustomerSearchResult = New usaepay.CustomerSearchResult
  
-        ​FieldList(0) = "​CustNum"​ +        ​response ​= client.searchCustomersCount(token, search, matchAll, "​0",​ "​10",​ "​fname"​) 
-        FieldList(1) = "​BillingAddress.Company"​ +        MsgBox(response.CustomersMatched)
-        FieldList(2) = "​Amount"​ +
- +
-        Dim result As String +
- +
-        result ​= client.searchCustomersCustom(token, search, matchAll, "​0",​ "10", FieldList, "csv", "​fname"​) +
-        Dim binaryData() As Byte +
-        binaryData = Convert.FromBase64String(result) +
- +
-        MsgBox(Encoding.UTF8.GetString(binaryData))+
 </​code>​ </​code>​
  
developer/soap-1.2/methods/searchcustomerscount.txt · Last modified: 2010/10/20 11:28 by irina

Page Tools