Betting.WebApi

<back to all web services

GetFeedHeartbeat

The following routes are available for this service:
All Verbs/feed/hb
FeedHeartbeat Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
StageformStagesNo
StepformintNo
StepsformintNo
UTCTimestampformDateTimeNo
LockdownStepFromEndformintNo
OverallformProgressNo
IsHappyHourformboolNo
Stages Enum:
NameValue
None0
Countdown1
Processing2
Draw3
Results4
Progress Parameters:
NameParameterData TypeRequiredDescription
StepformintNo
StepsformintNo
PctformfloatNo

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 /feed/hb HTTP/1.1 
Host: s4wapi.mozzart.ath.cx 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"roundId":"String","stage":0,"step":0,"steps":0,"utcTimestamp":"0001-01-01T00:00:00.0000000Z","lockdownStepFromEnd":0,"overall":{"step":0,"steps":0,"pct":0},"isHappyHour":false}