Requires the role: | Admin | Requires the permission: | ReadData |
POST | /borgunTest3D/Finish3DProcess | Test 3D |
---|
namespace TicketUserServices.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type BorgunPaymentMethodInfo() =
member val PaymentType:String = null with get,set
member val PAN:String = null with get,set
member val Token:String = null with get,set
member val CardType:String = null with get,set
member val IsDebit:String = null with get,set
[<AllowNullLiteral>]
type Borgun3DSecureInfo() =
member val SecurityLevelInd:String = null with get,set
member val Xid:String = null with get,set
[<AllowNullLiteral>]
type BorgunFinal3DResponse() =
member val TransactionId:String = null with get,set
member val TransactionType:String = null with get,set
member val Amount:Int32 = new Int32() with get,set
member val Currency:String = null with get,set
member val TransactionDate:DateTime = new DateTime() with get,set
member val OorderId:String = null with get,set
member val AuthCode:String = null with get,set
member val ActionCode:String = null with get,set
member val TransactionStatus:String = null with get,set
member val PaymentMethod:BorgunPaymentMethodInfo = null with get,set
member val ThreeDSecure:Borgun3DSecureInfo = null with get,set
member val LifeCycleId:String = null with get,set
[<AllowNullLiteral>]
type BorgunTest3DFinishProcessResponse() =
member val Response:BorgunFinal3DResponse = null with get,set
member val StatusCode:Int32 = new Int32() with get,set
member val Message:String = null with get,set
member val ForcedPath:String = null with get,set
member val ForcedJSONRequest:String = null with get,set
member val JSONRequest:String = null with get,set
member val JSONResponse:String = null with get,set
member val RequestPath:String = null with get,set
member val RequestSent:String = null with get,set
member val RequestReceived:String = null with get,set
[<AllowNullLiteral>]
type Borgun3DFinalPaymentMethodInfo() =
member val PaymentType:String = null with get,set
member val Token:String = null with get,set
[<AllowNullLiteral>]
type Borgun3DFinal3DSecureInfo() =
member val DataType:String = null with get,set
member val MpiToken:String = null with get,set
[<AllowNullLiteral>]
type Borgun3DFinalRequest() =
member val TransactionType:String = null with get,set
member val Amount:Int32 = new Int32() with get,set
member val Currency:String = null with get,set
member val TransactionDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val OrderId:String = null with get,set
member val PaymentMethod:Borgun3DFinalPaymentMethodInfo = null with get,set
member val ThreeDSecure:Borgun3DFinal3DSecureInfo = null with get,set
[<AllowNullLiteral>]
type BorgunTest3DFinishProcessRequest() =
member val Request:Borgun3DFinalRequest = null with get,set
member val ForcedPath:String = null with get,set
member val ForcedJSONRequest:String = null with get,set
member val SkipBorgunCall:Nullable<Boolean> = new Nullable<Boolean>() with get,set
F# BorgunTest3DFinishProcessRequest 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 /borgunTest3D/Finish3DProcess HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunTest3DFinishProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<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>
<SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DFinishProcessRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <BorgunTest3DFinishProcessResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <ForcedJSONRequest>String</ForcedJSONRequest> <ForcedPath>String</ForcedPath> <JSONRequest>String</JSONRequest> <JSONResponse>String</JSONResponse> <Message>String</Message> <RequestPath>String</RequestPath> <RequestReceived>String</RequestReceived> <RequestSent>String</RequestSent> <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> <StatusCode>0</StatusCode> </BorgunTest3DFinishProcessResponse>