developer:soap-1.3:methods:getreport

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:getreport [2010/09/01 17:24]
irina
developer:soap-1.3:methods:getreport [2010/10/13 15:40] (current)
irina
Line 112: Line 112:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim report As String
 +        report = "​creditcard:​errors by date"
 +        Dim options(0 To 1) As usaepay.FieldValue
 +        options(0) = New usaepay.FieldValue
 +        options(1) = New usaepay.FieldValue
 +        options(0).Field = "Start date"
 +        options(0).Value = "​2010-08-01"​
 +        options(1).Field = "End date"
 +        options(1).Value = "​2010-08-16"​
 +
 +        Dim format As String
 +        format = "​csv"​
 +        Dim response As String
 +
 +        response = client.getReport(token,​ report, options, format)
 +        Dim binary_data As Byte() = Convert.FromBase64String(response)
 +
 +
 +        MsgBox(System.Text.Encoding.UTF8.GetString(binary_data))
 </​code>​ </​code>​
  
developer/soap-1.3/methods/getreport.txt ยท Last modified: 2010/10/13 15:40 by irina

Page Tools