Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunServices/Finish3DProcess | Test 3D |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel
Imports BorgunRPGData
Namespace Global
Namespace BorgunRPGData
Public Partial Class Borgun3DFinal3DSecureInfo
Public Overridable Property DataType As String
Public Overridable Property MpiToken As String
End Class
Public Partial Class Borgun3DFinalPaymentMethodInfo
Public Overridable Property PaymentType As String
Public Overridable Property Token As String
End Class
Public Partial Class Borgun3DFinalRequest
Public Overridable Property TransactionType As String
Public Overridable Property Amount As Integer
Public Overridable Property Currency As String
Public Overridable Property TransactionDate As Nullable(Of Date)
Public Overridable Property OrderId As String
Public Overridable Property PaymentMethod As Borgun3DFinalPaymentMethodInfo
Public Overridable Property ThreeDSecure As Borgun3DFinal3DSecureInfo
End Class
Public Partial Class Borgun3DSecureInfo
Public Overridable Property SecurityLevelInd As String
Public Overridable Property Xid As String
End Class
Public Partial Class BorgunFinal3DResponse
Public Overridable Property TransactionId As String
Public Overridable Property TransactionType As String
Public Overridable Property Amount As Integer
Public Overridable Property Currency As String
Public Overridable Property TransactionDate As Date
Public Overridable Property OorderId As String
Public Overridable Property AuthCode As String
Public Overridable Property ActionCode As String
Public Overridable Property TransactionStatus As String
Public Overridable Property PaymentMethod As BorgunPaymentMethodInfo
Public Overridable Property ThreeDSecure As Borgun3DSecureInfo
Public Overridable Property LifeCycleId As String
End Class
Public Partial Class BorgunPaymentMethodInfo
Public Overridable Property PaymentType As String
Public Overridable Property PAN As String
Public Overridable Property Token As String
Public Overridable Property CardType As String
Public Overridable Property IsDebit As String
End Class
End Namespace
Namespace TicketUserServices.ServiceModel
Public Partial Class BorgunServices3DFinishProcessRequest
Public Overridable Property Request As Borgun3DFinalRequest
End Class
Public Partial Class BorgunServices3DFinishProcessResponse
Public Overridable Property Response As BorgunFinal3DResponse
Public Overridable Property Success As Boolean
Public Overridable Property HttpStatusCode As Integer
Public Overridable Property Message As String
End Class
End Namespace
End Namespace
VB.NET BorgunServices3DFinishProcessRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /borgunServices/Finish3DProcess HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunServices3DFinishProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
<d2p1:Amount>0</d2p1:Amount>
<d2p1:Currency>String</d2p1:Currency>
<d2p1:OrderId>String</d2p1:OrderId>
<d2p1:PaymentMethod>
<d2p1:PaymentType>String</d2p1:PaymentType>
<d2p1:Token>String</d2p1:Token>
</d2p1:PaymentMethod>
<d2p1:ThreeDSecure>
<d2p1:DataType>String</d2p1:DataType>
<d2p1:MpiToken>String</d2p1:MpiToken>
</d2p1:ThreeDSecure>
<d2p1:TransactionDate>0001-01-01T00:00:00</d2p1:TransactionDate>
<d2p1:TransactionType>String</d2p1:TransactionType>
</Request>
</BorgunServices3DFinishProcessRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunServices3DFinishProcessResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <HttpStatusCode>0</HttpStatusCode> <Message>String</Message> <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData"> <d2p1:ActionCode>String</d2p1:ActionCode> <d2p1:Amount>0</d2p1:Amount> <d2p1:AuthCode>String</d2p1:AuthCode> <d2p1:Currency>String</d2p1:Currency> <d2p1:LifeCycleId>String</d2p1:LifeCycleId> <d2p1:OorderId>String</d2p1:OorderId> <d2p1:PaymentMethod> <d2p1:CardType>String</d2p1:CardType> <d2p1:IsDebit>String</d2p1:IsDebit> <d2p1:PAN>String</d2p1:PAN> <d2p1:PaymentType>String</d2p1:PaymentType> <d2p1:Token>String</d2p1:Token> </d2p1:PaymentMethod> <d2p1:ThreeDSecure> <d2p1:SecurityLevelInd>String</d2p1:SecurityLevelInd> <d2p1:Xid>String</d2p1:Xid> </d2p1:ThreeDSecure> <d2p1:TransactionDate>0001-01-01T00:00:00</d2p1:TransactionDate> <d2p1:TransactionId>String</d2p1:TransactionId> <d2p1:TransactionStatus>String</d2p1:TransactionStatus> <d2p1:TransactionType>String</d2p1:TransactionType> </Response> <Success>false</Success> </BorgunServices3DFinishProcessResponse>