developer:soap-1.1:methods:searchtransactionscustom

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.1:methods:searchtransactionscustom [2010/09/29 14:36]
irina
developer:soap-1.1:methods:searchtransactionscustom [2010/09/29 14:37] (current)
irina
Line 235: Line 235:
         binaryData = Convert.FromBase64String(SearchResults)         binaryData = Convert.FromBase64String(SearchResults)
         MsgBox(Encoding.UTF8.GetString(binaryData))         MsgBox(Encoding.UTF8.GetString(binaryData))
 +</​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-09";​
 +
 +            string[] FieldList = new string[3];
 +            FieldList[0] = "​Response.RefNum";​
 +            FieldList[1] = "​Response.ResultCode";​
 +            FieldList[2] = "​CustomerID";​
 +
 +            string result;
 +
 +            try
 +            {
 +                result = client.searchTransactionsCustom(token,​ search, matchAll, "​0",​ "​10",​ FieldList, "​csv"​);​
 +                Byte[] binaryData = new Byte[3];
 +                binaryData = Convert.FromBase64String(result);​
 +
 +                MessageBox.Show(Encoding.UTF8.GetString(binaryData));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
  
developer/soap-1.1/methods/searchtransactionscustom.txt ยท Last modified: 2010/09/29 14:37 by irina

Page Tools