TBS Apps API

<back to all web services

BetLiveActivityRequest

Requires Authentication
The following routes are available for this service:
POST/BetLiveActivityEnables/Disables bet live activityEnables/Disables bet live activity
BetLiveActivityRequest Parameters:
NameParameterData TypeRequiredDescription
BetIDbodyintNo
ActivityIDbodystringNo
PushStartTokenbodystringNo
PushUpdateTokenbodystringNo
TrackBetbodyboolNo
OriginatorIDbodyshortNo
RefreshPushStartTokenbodyboolNo
AreActivitiesEnabledbodybool?No
FrequentPushesEnabledbodybool?No
BetLiveActivityResponse Parameters:
NameParameterData TypeRequiredDescription
HomeJerseyformstringNo
AwayJerseyformstringNo
EventIDformint?No
MessageTitleformstringNo
EventTypeIDformintNo
ResponseDataBase Parameters:
NameParameterData TypeRequiredDescription
ErrorNoformintNo
MessageformstringNo
Identityformlong?No

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.

POST /BetLiveActivity HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	BetID: 0,
	ActivityID: String,
	PushStartToken: String,
	PushUpdateToken: String,
	TrackBet: False,
	OriginatorID: 0,
	RefreshPushStartToken: False,
	AreActivitiesEnabled: False,
	FrequentPushesEnabled: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	HomeJersey: String,
	AwayJersey: String,
	EventID: 0,
	MessageTitle: String,
	EventTypeID: 0,
	ErrorNo: 0,
	Message: String,
	Identity: 0
}