developer:soap-1.3:methods:renderreceipt

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:renderreceipt [2010/06/01 15:37]
tem created
developer:soap-1.3:methods:renderreceipt [2010/10/13 15:53]
irina
Line 70: Line 70:
  
 <code vb> <code vb>
 +Dim receiptNum As String
 +        receiptNum = "​6"​
 +        Dim refNum As String
 +        refNum = "​46981789"​
 +        Dim contentType As String
 +        contentType = "​text"​
 +        Dim response As String
 +        response = client.renderReceipt(token,​ refNum, receiptNum, contentType)
 +        Dim todecode As Byte()
 +        todecode = Convert.FromBase64String(response)
 +        MsgBox(System.Text.Encoding.UTF8.GetString(todecode))
 </​code>​ </​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refNum = "​47004609";​
 +            string receiptRefNum = "​6";​
 +            string ContentType = "​text";​
 +            string response;
 +
 +            try
 +            {
 +                response = client.renderReceipt(token,​ refNum, receiptRefNum,​ ContentType);​
 +                byte[] todecode = Convert.FromBase64String(response);​
 +                MessageBox.Show(string.Concat(System.Text.Encoding.UTF8.GetString(todecode)));​
 +
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
 +
  
 ==== XML ==== ==== XML ====
developer/soap-1.3/methods/renderreceipt.txt ยท Last modified: 2010/10/13 15:53 by irina

Page Tools