TBS Apps API

<back to all web services

UserHeaderRequestV2

Requires Authentication
Gets basic User Details for displaying on an application header.Gets User Header Details. These are displayed on the header bar of web applications. Details include username, balance and bonus bets if available
UserHeaderV2 Parameters:
NameParameterData TypeRequiredDescription
ClientIdformintNo
AccountNumberformstringNo
TitleformstringNo
FirstNameformstringNo
SurnameformstringNo
UsernameformstringNo
EmailformstringNo
BalanceformdecimalNo
AvailableBettingBalanceformdecimalNo
IsAvailableDifferentToBalanceformboolNo
IsAuthenticatedformboolNo
PendingBetCountformintNo
BlackbookCountformintNo
TipsAndAlertsCountformintNo
MetadataformstringNo
MillisFromEpochToServerDateStartformTuple<long, string>No
RemoveCancelWithdrawalOptionformboolNo
RemoveLowBalanceNotificationformboolNo
IsNCPFAckRequiredformboolNo
IsKYCAcknowledgementRequiredformboolNo
IsNTLicenseAckRequiredformboolNo
FESessionTimeoutformintNo
AccountStatusformstringNo
IsTermsAndConditionsAckRequiredformboolNo
IsMarketingUserOptInAckRequiredformboolNo
ClientHistoryStartDaysformint?No
ResultHistoryStartDaysformint?No
ClientHistoryRestrictionMessageformstringNo
PromoRemoveCacheformbool?No
ClientProfileIDformshort?No
PFIdformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: UserHeaderRequestV2

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UserHeaderRequestV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TBS.Frontend.RequestLayer.RequestFunctions" />

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<UserHeaderV2 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>
  <ClientHistoryRestrictionMessage>String</ClientHistoryRestrictionMessage>
  <ClientHistoryStartDays>0</ClientHistoryStartDays>
  <ClientId>0</ClientId>
  <ClientProfileID>0</ClientProfileID>
  <Email>String</Email>
  <FESessionTimeout>0</FESessionTimeout>
  <FirstName>String</FirstName>
  <IsAuthenticated>false</IsAuthenticated>
  <IsKYCAcknowledgementRequired>false</IsKYCAcknowledgementRequired>
  <IsMarketingUserOptInAckRequired>false</IsMarketingUserOptInAckRequired>
  <IsNCPFAckRequired>false</IsNCPFAckRequired>
  <IsNTLicenseAckRequired>false</IsNTLicenseAckRequired>
  <IsTermsAndConditionsAckRequired>false</IsTermsAndConditionsAckRequired>
  <Metadata>String</Metadata>
  <PFId>String</PFId>
  <PendingBetCount>0</PendingBetCount>
  <PromoRemoveCache>false</PromoRemoveCache>
  <RemoveCancelWithdrawalOption>false</RemoveCancelWithdrawalOption>
  <RemoveLowBalanceNotification>false</RemoveLowBalanceNotification>
  <ResultHistoryStartDays>0</ResultHistoryStartDays>
  <Surname>String</Surname>
  <TipsAndAlertsCount>0</TipsAndAlertsCount>
  <Title>String</Title>
  <Username>String</Username>
</UserHeaderV2>

    </soap:Body>
</soap:Envelope>