developer:soap-1.3:methods:searchtransactions

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer:soap-1.3:methods:searchtransactions [2010/08/06 17:05]
epouchak
developer:soap-1.3:methods:searchtransactions [2010/08/30 09:27]
irina
Line 226: Line 226:
 </​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",​ "​created"​);​
 +
 +                MessageBox.Show(string.Concat(result.TransactionsMatched));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ==== Coldfusion ==== ==== Coldfusion ====
developer/soap-1.3/methods/searchtransactions.txt ยท Last modified: 2014/12/18 10:13 by yura

Page Tools