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
Next revision
Previous revision
developer:soap-1.3:methods:searchtransactions [2010/08/06 17:05]
epouchak
developer:soap-1.3:methods:searchtransactions [2014/12/18 10:13]
yura [Description]
Line 22: Line 22:
   * ErrorCode ​   * ErrorCode ​
   * Created ​   * Created ​
-  * CreateDate ​ 
   * CreateTime ​   * CreateTime ​
   * Invoice ​   * Invoice ​
Line 226: Line 225:
 </​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