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 /xml/reply/ActivateGiftRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/xml
Content-Length: length
<activateGiftRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api">
<cardHolderPresentCode>Default</cardHolderPresentCode>
<clerkNumber>String</clerkNumber>
<laneId>0</laneId>
<referenceNumber>String</referenceNumber>
<shiftId>String</shiftId>
<ticketNumber>String</ticketNumber>
<configuration>
<allowPartialApprovals>false</allowPartialApprovals>
<checkForDuplicateTransactions>false</checkForDuplicateTransactions>
<currencyCode>None</currencyCode>
<marketCode>Default</marketCode>
</configuration>
<transactionAmount>0</transactionAmount>
</activateGiftRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<activateGiftResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://tripos.vantiv.com/2014/09/TriPos.Api">
<_errors>
<error>
<developerMessage>String</developerMessage>
<errorType>String</errorType>
<exceptionMessage>String</exceptionMessage>
<exceptionTypeFullName>String</exceptionTypeFullName>
<exceptionTypeShortName>String</exceptionTypeShortName>
<userMessage>String</userMessage>
</error>
</_errors>
<_hasErrors>true</_hasErrors>
<_links />
<_logs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</_logs>
<_type>String</_type>
<_warnings>
<warning>
<developerMessage>String</developerMessage>
<userMessage>String</userMessage>
</warning>
</_warnings>
<_processor>
<expressResponseCode>String</expressResponseCode>
<expressResponseMessage>String</expressResponseMessage>
<hostResponseCode>String</hostResponseCode>
<hostResponseMessage>String</hostResponseMessage>
<logs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</logs>
<processorLogs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</processorLogs>
<processorRawResponse>String</processorRawResponse>
<processorReferenceNumber>String</processorReferenceNumber>
<processorRequestFailed>false</processorRequestFailed>
<processorRequestWasApproved>false</processorRequestWasApproved>
<processorResponseCode>Unknown</processorResponseCode>
<processorResponseMessage>String</processorResponseMessage>
<rawResponse>String</rawResponse>
</_processor>
<approvalNumber>String</approvalNumber>
<isApproved>false</isApproved>
<merchantId>String</merchantId>
<statusCode>None</statusCode>
<transactionDateTime>String</transactionDateTime>
<transactionId>String</transactionId>
<accountNumber>String</accountNumber>
<balanceAmount>0</balanceAmount>
<balanceCurrencyCode>String</balanceCurrencyCode>
<binValue>String</binValue>
<cardLogo>String</cardLogo>
<entryMode>String</entryMode>
<terminalId>String</terminalId>
<totalAmount>0</totalAmount>
</activateGiftResponse>