TBS Apps API

<back to all web services

UserHeaderRequestV2

Requires Authentication
The following routes are available for this service:
GET,POST/UserHeaderV2Gets 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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /UserHeaderV2 HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ClientId":0,"AccountNumber":"String","Title":"String","FirstName":"String","Surname":"String","Username":"String","Email":"String","Balance":0,"AvailableBettingBalance":0,"IsAvailableDifferentToBalance":false,"IsAuthenticated":false,"PendingBetCount":0,"BlackbookCount":0,"TipsAndAlertsCount":0,"Metadata":"String","MillisFromEpochToServerDateStart":{"Item1":1776434400000,"Item2":"AEST"},"RemoveCancelWithdrawalOption":false,"RemoveLowBalanceNotification":false,"IsNCPFAckRequired":false,"IsKYCAcknowledgementRequired":false,"IsNTLicenseAckRequired":false,"FESessionTimeout":0,"AccountStatus":"String","IsTermsAndConditionsAckRequired":false,"IsMarketingUserOptInAckRequired":false,"ClientHistoryStartDays":0,"ResultHistoryStartDays":0,"ClientHistoryRestrictionMessage":"String","PromoRemoveCache":false,"ClientProfileID":0,"PFId":"String"}