developer:soap-1.1:methods:gettransactionreport

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.1:methods:gettransactionreport [2009/06/24 13:40]
charlie created
developer:soap-1.1:methods:gettransactionreport [2010/10/21 12:41]
irina
Line 61: Line 61:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As String
 +        refnum = "​46978031"​
 +        Dim update(0 To 1) As usaepay.FieldValue
 +        For i As Integer = 0 To 1
 +            update(i) = New usaepay.FieldValue
 +        Next
 + 
 +        update(0).Field = "​Schedule"​
 +        update(0).Value = "​weekly"​
 +        update(1).Field = "​NumLeft"​
 +        update(1).Value = "​7"​
 + 
 +        Dim response As String
 +        response = client.convertTranToCust(token,​ refnum, update)
 +        MsgBox(response)
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string start = "​2010-08-01";​
 +            string end = "​2010-08-09";​
 +            string format = "​html";​
 +            string report = "​CreditCard:​Sales By Date";
 +
 +            try
 +            {
 +                string response = client.getTransactionReport(token,​ start, end, report, format);
 +                byte[] decbuff = Convert.FromBase64String(response);​
 +                MessageBox.Show(Encoding.UTF8.GetString(decbuff));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
developer/soap-1.1/methods/gettransactionreport.txt ยท Last modified: 2010/10/21 12:41 by irina

Page Tools