Six4Win.WebApi

<back to all web services

GetSuperWinConfiguration

The following routes are available for this service:
All Verbs/qry/super-win/config
SuperWinStateDoc Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
StateformSuperWinStateNo
SuperWinState Parameters:
NameParameterData TypeRequiredDescription
CurrentDateformDateTimeNo
AvailableAmountformdecimalNo
PoolsformRecordDictionary<int, SuperWinPool>No
SuperWinPool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StateformSuperWinPoolStateNo
AmountformdecimalNo
ScheduleformRecordList<SuperWinPrize>No
SuperWinPoolState Enum:
NameValue
Idle0
Accumulating1
Awarding2
SuperWinPrize Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
AmountformdecimalNo
ScheduledAtformDateTimeNo
WinnerformSuperWinWinnerNo
SuperWinWinner Parameters:
NameParameterData TypeRequiredDescription
IsDrawnformboolNo
DrawnAtUtcformDateTimeNo
RoundIdformstringNo
BetIdformstringNo
SlipIdformstringNo
OriginformOriginNo
BettorformRefNo
CodeformstringNo
AmountformdecimalNo
Origin Parameters:
NameParameterData TypeRequiredDescription
ApplicationformBettingAppNo
IPformstringNo
OrganizationformRefNo
RegionformRefNo
LocationGroupformRefNo
LocationformRefNo
DeviceformRefNo
ClerkformRefNo
BettingApp Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
VersionformstringNo
IsSelfServiceformboolNo
Ref Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
ValformstringYes

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.

POST /qry/super-win/config HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

{"id":"String","state":{"currentDate":"0001-01-01T00:00:00.0000000Z","availableAmount":0,"pools":{"0":{"id":0,"state":0,"amount":0,"schedule":[{"id":0,"amount":0,"scheduledAt":"0001-01-01T00:00:00.0000000Z","winner":{"isDrawn":false,"drawnAtUtc":"0001-01-01T00:00:00.0000000Z","roundId":"String","betId":"String","slipId":"String","origin":{"application":{"name":"String","version":"String","isSelfService":false},"ip":"String","organization":{"id":"String","val":"String"},"region":{"id":"String","val":"String"},"locationGroup":{"id":"String","val":"String"},"location":{"id":"String","val":"String"},"device":{"id":"String","val":"String"},"clerk":{"id":"String","val":"String"}},"bettor":{"id":"String","val":"String"},"code":"String","amount":0}}]}}}}