To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /borgunTest3D/CompleteSaveCard HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunTest3DCompleteSaveCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CRes>String</CRes>
<CVC>String</CVC>
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<PAN>String</PAN>
<PARes>String</PARes>
<SessionId>String</SessionId>
<SkipBorgunCall>false</SkipBorgunCall>
</BorgunTest3DCompleteSaveCardRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BorgunTest3DCompleteSaveCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CardAlreadyExists>false</CardAlreadyExists>
<CardType>String</CardType>
<ForcedJSONRequest>String</ForcedJSONRequest>
<ForcedPath>String</ForcedPath>
<IsDebit>false</IsDebit>
<JSONRequest>String</JSONRequest>
<JSONResponse>String</JSONResponse>
<Message>String</Message>
<RequestPath>String</RequestPath>
<RequestReceived>String</RequestReceived>
<RequestSent>String</RequestSent>
<StatusCode>0</StatusCode>
<Success>false</Success>
<Token>String</Token>
<VirtualCardNumber>String</VirtualCardNumber>
</BorgunTest3DCompleteSaveCardResponse>