Betting.WebApi

<back to all web services

GetRecentJackpotWinners

The following routes are available for this service:
GET/recentJackpotWinners
RecentJackpot5Winners Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
RecentWinnersformQueue<RecentJackpot5Winner>No
RecentJackpot5Winner Parameters:
NameParameterData TypeRequiredDescription
SlipIdformstringNo
BetIdformstringNo
WinningsAmountformdecimalNo
OriginformOriginNo
PlacedAtformDateTimeNo
PayloadformDictionary<string, string>No
Origin Parameters:
NameParameterData TypeRequiredDescription
ApplicationformBettingAppNo
IPformstringNo
OrganizationformReferenceNo
DeviceformReferenceNo
LocationformReferenceNo
LocationGroupformReferenceNo
ClerkformReferenceNo
BettingApp Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
VersionformstringNo
Reference Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ValueformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /recentJackpotWinners HTTP/1.1 
Host: s4wapi.mozzart.ath.cx 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"id":"RecentJackpotWinners-1","recentWinners":[]}