TBS Apps API

<back to all web services

UserHeaderRequest

Requires Authentication
The following routes are available for this service:
GET,POST/UserHeaderGets 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
UserHeaderRequest Parameters:
NameParameterData TypeRequiredDescription
EventIdbodyintNo
UserHeader Parameters:
NameParameterData TypeRequiredDescription
ClientIdformintNo
AccountNumberformstringNo
TitleformstringNo
FirstNameformstringNo
SurnameformstringNo
UsernameformstringNo
EmailformstringNo
SecondaryEmailformstringNo
BalanceformdecimalNo
AvailableBettingBalanceformdecimalNo
BonusBetCountformintNo
BonusBalanceformdecimalNo
IsAvailableDifferentToBalanceformboolNo
EmailHashformstringNo
IsAuthenticatedformboolNo
PendingBetCountformintNo
SocialAlertCountformintNo
BlackbookCountformintNo
TipsAndAlertsCountformintNo
MetadataformstringNo
MillisFromEpochToServerDateStartformTuple<long, string>No
IsBoostAvailableformboolNo
RemoveCancelWithdrawalOptionformboolNo
RemoveLowBalanceNotificationformboolNo
IsNCPFAckRequiredformboolNo
IsNTLicenseAckRequiredformboolNo
BlueBoostMultiCountformint?No
BlueBoostSGMultiCountformint?No
BlueBoostThoroughbredCountformint?No
BlueBoostTrotCountformint?No
BlueBoostGreyhoundCountformint?No
FESessionTimeoutformintNo
AccountStatusformstringNo
ClientProfileIDformshort?No
PFIdformstringNo

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

HTTP + CSV

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: text/csv
Content-Type: text/csv
Content-Length: length

{"EventId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'UserHeader' using the custom 'csv' filter}Unexpected character encountered while parsing value: S. Path '', line 0, position 0.