Six4Win.WebApi

<back to all web services

GetRecentWins

The following routes are available for this service:
All Verbs/qry/wins/recent
RecentWins Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
WinsformList<Win>No
MaxSizeformintNo
ThresholdformdecimalNo
Win Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
SIdformlongNo
BettorformRefNo
OriginformOriginNo
PlacedAtformDateTimeNo
RoundIdformlongNo
ContentformstringNo
StakeformdecimalNo
OutcomeformBetOutcomeNo
AmountformdecimalNo
ProcessingStatusformBetProcessingStatusNo
ValidityformBetValidityNo
ResultsformDictionary<string, string>No
PayloadformDictionary<string, string>No
Ref Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
ValformstringYes
Origin Parameters:
NameParameterData TypeRequiredDescription
ApplicationformBettingAppNo
IPformstringNo
OrganizationformRefExNo
RegionformRefNo
LocationGroupformRefNo
LocationformRefExNo
DeviceformRefExNo
ClerkformRefNo
BettingApp Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
VersionformstringNo
RefEx Parameters:
NameParameterData TypeRequiredDescription
DataformRecordDictionary<string, string>Yes
BetOutcome Enum:
NameValue
Unknown0
Lost1
Won2
Void3
BetProcessingStatus Enum:
NameValue
Open0
Closed1
BetValidity Enum:
NameValue
Valid0
Canceled1
Void2
Reverted3

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

HTTP + OTHER

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

POST /qry/wins/recent HTTP/1.1 
Host: s4w2.api.bettor.cc 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"id":"String","wins":[{"id":0,"sId":0,"bettor":{"id":"String","val":"String"},"origin":{"application":{"name":"String","version":"String"},"ip":"String","organization":{"data":{"String":"String"},"id":"String","val":"String"},"region":{"id":"String","val":"String"},"locationGroup":{"id":"String","val":"String"},"location":{"data":{"String":"String"},"id":"String","val":"String"},"device":{"data":{"String":"String"},"id":"String","val":"String"},"clerk":{"id":"String","val":"String"}},"placedAt":"0001-01-01T00:00:00.0000000Z","roundId":0,"content":"String","stake":0,"outcome":0,"amount":0,"processingStatus":0,"validity":0,"results":{"String":"String"},"payload":{"String":"String"}}],"maxSize":0,"threshold":0}