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 .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 /BetLiveActivity HTTP/1.1 
Host: tstextweb20.np.bluebet.com.au 
Accept: application/json
Content-Type: application/json
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: application/json
Content-Length: length

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