developer:soap-1.3: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.3:methods:searchtransactionscustom [2010/08/06 17:10]
epouchak
developer:soap-1.3:methods:searchtransactionscustom [2010/08/30 09:30] (current)
irina
Line 238: Line 238:
         MsgBox(Encoding.UTF8.GetString(binaryData))         MsgBox(Encoding.UTF8.GetString(binaryData))
 </​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[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",​ "​invoice"​);​
 +                Byte[] binaryData = new Byte[3];
 +                binaryData = Convert.FromBase64String(result);​
 +
 +                MessageBox.Show(Encoding.UTF8.GetString(binaryData));​
 +
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +
 +
 +</​code>​
 +
 ==== XML ==== ==== XML ====
  
developer/soap-1.3/methods/searchtransactionscustom.txt ยท Last modified: 2010/08/30 09:30 by irina

Page Tools