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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	BuildDate: 0001-01-01,
	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
		}
	]
}