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 /borgunServices/3DEnrollment HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BorgunServices3DEnrollmentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Message>String</Message>
<Request xmlns:d2p1="http://schemas.datacontract.org/2004/07/BorgunRPGData">
<d2p1:CardDetails>
<d2p1:CVC2>String</d2p1:CVC2>
<d2p1:ExpMonth>String</d2p1:ExpMonth>
<d2p1:ExpYear>String</d2p1:ExpYear>
<d2p1:PAN>String</d2p1:PAN>
<d2p1:PaymentType>Unknown</d2p1:PaymentType>
<d2p1:Token>String</d2p1:Token>
</d2p1:CardDetails>
<d2p1:Currency>String</d2p1:Currency>
<d2p1:Description>String</d2p1:Description>
<d2p1:Exponent>0</d2p1:Exponent>
<d2p1:MD>String</d2p1:MD>
<d2p1:PurchAmount>0</d2p1:PurchAmount>
<d2p1:TermURL>String</d2p1:TermURL>
<d2p1:TransactionDate>0001-01-01T00:00:00</d2p1:TransactionDate>
</Request>
<StatusCode>0</StatusCode>
</BorgunServices3DEnrollmentRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<BorgunServices3DEnrollmentResponse 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:EnrollmentStatus>String</d2p1:EnrollmentStatus>
<d2p1:MD>String</d2p1:MD>
<d2p1:MdErrorMessage>String</d2p1:MdErrorMessage>
<d2p1:MdStatus>String</d2p1:MdStatus>
<d2p1:MessageId>String</d2p1:MessageId>
<d2p1:MpiToken>String</d2p1:MpiToken>
<d2p1:RedirectToACSDAta>
<d2p1:BorgunMPIEnrollmentACSField>
<d2p1:Name>String</d2p1:Name>
<d2p1:Values>String</d2p1:Values>
</d2p1:BorgunMPIEnrollmentACSField>
</d2p1:RedirectToACSDAta>
<d2p1:RedirectToACSForm>String</d2p1:RedirectToACSForm>
<d2p1:ResultStatus>0</d2p1:ResultStatus>
</Response>
<Success>false</Success>
</BorgunServices3DEnrollmentResponse>