| 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 |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ClientId | form | int | No | |
| AccountNumber | form | string | No | |
| Title | form | string | No | |
| FirstName | form | string | No | |
| Surname | form | string | No | |
| Username | form | string | No | |
| form | string | No | ||
| Balance | form | decimal | No | |
| AvailableBettingBalance | form | decimal | No | |
| IsAvailableDifferentToBalance | form | bool | No | |
| IsAuthenticated | form | bool | No | |
| PendingBetCount | form | int | No | |
| BlackbookCount | form | int | No | |
| TipsAndAlertsCount | form | int | No | |
| Metadata | form | string | No | |
| MillisFromEpochToServerDateStart | form | Tuple<long, string> | No | |
| RemoveCancelWithdrawalOption | form | bool | No | |
| RemoveLowBalanceNotification | form | bool | No | |
| IsNCPFAckRequired | form | bool | No | |
| IsKYCAcknowledgementRequired | form | bool | No | |
| IsNTLicenseAckRequired | form | bool | No | |
| FESessionTimeout | form | int | No | |
| AccountStatus | form | string | No | |
| IsTermsAndConditionsAckRequired | form | bool | No | |
| IsMarketingUserOptInAckRequired | form | bool | No | |
| ClientHistoryStartDays | form | int? | No | |
| ResultHistoryStartDays | form | int? | No | |
| ClientHistoryRestrictionMessage | form | string | No | |
| PromoRemoveCache | form | bool? | No | |
| ClientProfileID | form | short? | No | |
| PFId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=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>