developer:soap-1.1:methods:converttrantocust

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.1:methods:converttrantocust [2010/09/29 14:26]
irina
developer:soap-1.1:methods:converttrantocust [2010/10/21 12:43] (current)
irina
Line 61: Line 61:
  
 |string |Returns the CustNum of the new customer. | |string |Returns the CustNum of the new customer. |
 +
 +==== .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# ==== ==== .NET C# ====
developer/soap-1.1/methods/converttrantocust.txt ยท Last modified: 2010/10/21 12:43 by irina

Page Tools