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 /UserHeader HTTP/1.1
Host: tstextweb20.np.bluebet.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<UserHeaderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions">
<EventId>0</EventId>
</UserHeaderRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UserHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.Messaging.DataContracts">
<AccountNumber>String</AccountNumber>
<AccountStatus>String</AccountStatus>
<AvailableBettingBalance>0</AvailableBettingBalance>
<Balance>0</Balance>
<BlackbookCount>0</BlackbookCount>
<BlueBoostGreyhoundCount>0</BlueBoostGreyhoundCount>
<BlueBoostMultiCount>0</BlueBoostMultiCount>
<BlueBoostSGMultiCount>0</BlueBoostSGMultiCount>
<BlueBoostThoroughbredCount>0</BlueBoostThoroughbredCount>
<BlueBoostTrotCount>0</BlueBoostTrotCount>
<BonusBalance>0</BonusBalance>
<BonusBetCount>0</BonusBetCount>
<ClientId>0</ClientId>
<ClientProfileID>0</ClientProfileID>
<Email>String</Email>
<FESessionTimeout>0</FESessionTimeout>
<FirstName>String</FirstName>
<IsAuthenticated>false</IsAuthenticated>
<IsNCPFAckRequired>false</IsNCPFAckRequired>
<IsNTLicenseAckRequired>false</IsNTLicenseAckRequired>
<Metadata>String</Metadata>
<PFId>String</PFId>
<PendingBetCount>0</PendingBetCount>
<RemoveCancelWithdrawalOption>false</RemoveCancelWithdrawalOption>
<RemoveLowBalanceNotification>false</RemoveLowBalanceNotification>
<SecondaryEmail>String</SecondaryEmail>
<SocialAlertCount>0</SocialAlertCount>
<Surname>String</Surname>
<TipsAndAlertsCount>0</TipsAndAlertsCount>
<Title>String</Title>
<Username>String</Username>
</UserHeader>