developer:soap-1.1:methods:searchtransactions

Differences

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

Link to this comparison view

developer:soap-1.1:methods:searchtransactions [2009/06/24 13:39]
charlie created
developer:soap-1.1:methods:searchtransactions [2010/09/29 14:34]
irina
Line 224: Line 224:
 </​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[1] = new usaepay.SearchParam();​
  
 +            search[0].Field = "​Amount";​
 +            search[0].Type = "​eq";​
 +            search[0].Value = "​12.00";​
 +
 +            search[1].Field = "​Created";​
 +            search[1].Type = "​contains";​
 +            search[1].Value = "​2010-08-09";​
 +
 +            usaepay.TransactionSearchResult result = new usaepay.TransactionSearchResult();​
 +
 +            try
 +            {
 +                result = client.searchTransactions(token,​ search, matchAll, "​0",​ "​10"​);​
 +
 +                MessageBox.Show(string.Concat(result.TransactionsMatched));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== Coldfusion ==== ==== Coldfusion ====
developer/soap-1.1/methods/searchtransactions.txt ยท Last modified: 2010/09/29 14:34 by irina

Page Tools