TBS Apps API

<back to all web services

AppInfoRequest

The following routes are available for this service:
GET/Home/AppInfo
AppInfo Parameters:
NameParameterData TypeRequiredDescription
BuildDateformDateTimeNo
AppVersionformAppVersionNo
TermsUrlLinkformstringNo
HelpCenterUrlLinkformstringNo
InfoPageUrlformstringNo
AboutUsPageUrlformstringNo
SettingsformDictionary<string, string>No
MultiBetSettingformMultiBetSettingNo
HomeBannersformList<HomeBannerSetting>No
AppVersion Parameters:
NameParameterData TypeRequiredDescription
CurrentVersionformstringNo
MinRequiredVersionformstringNo
WhatsNewformstringNo
UpdatedDateformstringNo
MinSupportedOsVersionformstringNo
MinAllowedOsVersionformstringNo
ForceUpdateMessageformstringNo
MultiBetSetting Parameters:
NameParameterData TypeRequiredDescription
MultiMaxRacingLegsformintNo
MultiMaxSportsLegsformintNo
MultiMaxCombinedLegsformintNo
MultiMaxSGMLegsformintNo
MultiMaxPriceformdoubleNo
MultiMaxLegCountExceededMessageformstringNo
MultiMaxPriceExceededMessageformstringNo
HomeBannerSetting Parameters:
NameParameterData TypeRequiredDescription
TitleformstringNo
ImageUrlformstringNo
LinkUrlformstringNo

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.

GET /Home/AppInfo HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"BuildDate":"0001-01-01T00:00:00.0000000Z","AppVersion":{"CurrentVersion":"String","MinRequiredVersion":"String","WhatsNew":"String","UpdatedDate":"String","MinSupportedOsVersion":"String","MinAllowedOsVersion":"String","ForceUpdateMessage":"String"},"TermsUrlLink":"String","HelpCenterUrlLink":"String","InfoPageUrl":"String","AboutUsPageUrl":"String","Settings":{"String":"String"},"MultiBetSetting":{"MultiMaxRacingLegs":0,"MultiMaxSportsLegs":0,"MultiMaxCombinedLegs":0,"MultiMaxSGMLegs":0,"MultiMaxPrice":0,"MultiMaxLegCountExceededMessage":"String","MultiMaxPriceExceededMessage":"String"},"HomeBanners":[{"Title":"String","ImageUrl":"String","LinkUrl":"String"}]}