developer:soap-1.4: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
Next revision
Previous revision
Last revision Both sides next revision
developer:soap-1.4:methods:converttrantocust [2010/08/30 11:46]
tem
developer:soap-1.4:methods:converttrantocust [2012/06/19 11:21]
charlie
Line 116: Line 116:
  System.out.println("​Soap Exception: " + e.getMessage());​  System.out.println("​Soap Exception: " + e.getMessage());​
 } }
 +</​code>​
 +
 +==== .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>​ </​code>​
  
Line 149: Line 168:
             }             }
 </​code>​ </​code>​
 +
 +==== XML ====
 +
 +<code xml>
 +<?xml version="​1.0"​ encoding="​UTF-8"?>​
 +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/" ​
 +xmlns:​ns1="​urn:​usaepay"​ xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema" ​
 +xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​
 +xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/"​ SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 +<​SOAP-ENV:​Body>​
 +<​ns1:​convertTranToCust>​
 + <​Token xsi:​type="​ns1:​ueSecurityToken">​
 +  <​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​
 +  <PinHash xsi:​type="​ns1:​ueHash">​
 +   <​HashValue xsi:​type="​xsd:​string">​af3e6168796c67107dcd0442e9c5f3827daadb25</​HashValue>​
 +   <​Seed xsi:​type="​xsd:​string">​1340129356664563792</​Seed>​
 +   <​Type xsi:​type="​xsd:​string">​sha1</​Type>​
 +  </​PinHash>​
 +  <​SourceKey xsi:​type="​xsd:​string">​422Rg42t0HJL5c1cy5g7m48LAayCiW67</​SourceKey>​
 + </​Token>​
 + <​RefNum xsi:​type="​xsd:​integer">​52512930</​RefNum>​
 + <​UpdateData SOAP-ENC:​arrayType="​ns1:​FieldValue[5]"​ xsi:​type="​ns1:​FieldValueArray">​
 +  <item xsi:​type="​ns1:​FieldValue">​
 +   <​Field xsi:​type="​xsd:​string">​NumLeft</​Field>​
 +   <​Value xsi:​type="​xsd:​string">​10</​Value>​
 +  </​item>​
 +  <item xsi:​type="​ns1:​FieldValue">​
 +   <​Field xsi:​type="​xsd:​string">​Amount</​Field>​
 +   <​Value xsi:​type="​xsd:​string">​7.40</​Value>​
 +  </​item>​
 +  <item xsi:​type="​ns1:​FieldValue">​
 +   <​Field xsi:​type="​xsd:​string">​Description</​Field>​
 +   <​Value xsi:​type="​xsd:​string">​Monthly Bill</​Value>​
 +  </​item>​
 +  <item xsi:​type="​ns1:​FieldValue">​
 +   <​Field xsi:​type="​xsd:​string">​Schedule</​Field>​
 +   <​Value xsi:​type="​xsd:​string">​Monthly</​Value>​
 +  </​item>​
 +  <item xsi:​type="​ns1:​FieldValue">​
 +   <​Field xsi:​type="​xsd:​string">​Enabled</​Field>​
 +   <​Value xsi:​type="​xsd:​string">​Yes</​Value>​
 +  </​item>​
 + </​UpdateData>​
 +</​ns1:​convertTranToCust>​
 +</​SOAP-ENV:​Body>​
 +</​SOAP-ENV:​Envelope>​
 +</​code>​
 +
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.4/methods/converttrantocust.txt ยท Last modified: 2012/06/19 11:27 by charlie

Page Tools