TBS Apps API

<back to all web services

ActivityFeedModalRequest

Requires Authentication
The following routes are available for this service:
GET/ActivityFeedModalGets a logged in user's modal push messages from the push notification console, in Activities field.Once the user dismisses or actions the message, call DismissTip with status='DISMISS-MODAL'
ActivityFeedResponse Parameters:
NameParameterData TypeRequiredDescription
ActivitiesformIEnumerable<ActivityFeedMessage>No
TipsAndAlertsformIEnumerable<TipsAndAlertsMessage>No
ActivitiesCountformintNo
TipsAndAlertsCountformintNo
ActivityFeedMessage Parameters:
NameParameterData TypeRequiredDescription
ActivityFeedMessageIdformlongNo
ClientIdformintNo
EventIdformlongNo
ExpiryTimeformDateTimeNo
JumpTimeformDateTimeNo
SenderMessageformstringNo
SentByClientIdformintNo
SentByUsernameformstringNo
SentByFullNameformstringNo
SharedFormIdformintNo
TimeToExpireformstringNo
TypeformstringNo
WinningPayoutformdecimalNo
WinningResultformstringNo
BetJSONformstringNo
MultiBetsJSONformstringNo
SecondsToJumpformintNo
MessageGUIDformstringNo
MessageTitleformstringNo
ActionformstringNo
TipsAndAlertsMessage Parameters:
NameParameterData TypeRequiredDescription
ActivityFeedMessageIdformintNo
ClientIdformintNo
EventIdformintNo
ExpiryTimeformDateTimeNo
JumpTimeformDateTimeNo
SenderMessageformstringNo
SentByClientIdformintNo
SentByUsernameformstringNo
SentByFullNameformstringNo
SharedFormIdformintNo
TimeToExpireformstringNo
TypeformstringNo
WinningPayoutformdecimalNo
WinningResultformstringNo
BetJSONformstringNo
MultiBetsJSONformstringNo
SecondsToJumpformintNo
SenderBetIdformlongNo
EmailformstringNo
EmailHashformstringNo
MessageGUIDformstringNo

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

{"ActivitiesCount":0,"TipsAndAlertsCount":0}