developer:soap-1.1:methods:overridetransaction

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:overridetransaction [2009/06/24 13:36]
charlie created
developer:soap-1.1:methods:overridetransaction [2010/10/21 12:07]
irina
Line 30: Line 30:
  
 |boolean| |boolean|
 +
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As String
 +        refnum = 47078128
 + 
 +        Dim reason As String
 +        reason = "​Test"​
 + 
 +        Dim response As Boolean
 +        response = client.overrideTransaction(token,​ refnum, reason)
 + 
 +        If response = True Then
 +            MsgBox("​Override Successful."​)
 +        Else
 +            MsgBox("​An Error Occured."​)
 +        End If
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refnum;
 +            string reason;
 +
 +            refnum = "​47046002";​
 +            reason = "​Because it is test";
 +
 +            Boolean response;
 +
 +            try
 +            {
 +                response = client.overrideTransaction(token,​ refnum, reason);
 +                if (response)
 +                {
 +                    MessageBox.Show(string.Concat("​Transaction was overrided successfully"​));​
 +                }
 +                else MessageBox.Show(string.Concat("​Error"​));​
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +
 +            }
 +            ​
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.1/methods/overridetransaction.txt ยท Last modified: 2010/10/21 12:07 by irina

Page Tools