developer:soap-1.3: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.3:methods:gettransactionreport [2010/06/01 16:22]
hmcgowan created
developer:soap-1.3:methods:gettransactionreport [2010/10/05 13:36]
irina
Line 120: Line 120:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim start As String
 +        start = "​2010-08-01"​
 +        Dim endd As String
 +        endd = "​2010-08-09"​
 +        Dim format As String
 +        format = "​html"​
 +        Dim report As String
 +        report = "​CreditCard:​Sales By Date"
 +
 +        Dim response As String
 +        response = client.getTransactionReport(token,​ start, endd, report, format)
 +        Dim decbuff() As Byte
 +        decbuff = Convert.FromBase64String(response)
 +        MsgBox(Encoding.UTF8.GetString(decbuff))
 +</​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.3/methods/gettransactionreport.txt ยท Last modified: 2010/10/05 13:36 by irina

Page Tools