Six4Win.WebApi

<back to all web services

ConfigureGame

Requires Authentication
The following routes are available for this service:
POST/cmd/configure/game
ConfigureGame Parameters:
NameParameterData TypeRequiredDescription
IdbodystringNo
ConfigurationbodyGameConfigurationNo
GameConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
QueueSizeformintNo
RoundConfigurationformRoundConfigurationNo
HappyHourConfigformHappyHourConfigNo
RoundConfiguration Parameters:
NameParameterData TypeRequiredDescription
CoefficientsformRecordList<float>No
IsDoubleTripleActiveformboolNo
IsJackpot5ActiveformboolNo
CountdownDurationInSecondsformintNo
CountdownConfigurationformCountdownConfigurationNo
DrawConfigurationformDrawConfigurationNo
ResultsDurationInSecondsformintNo
RTPStrategyformRTPStrategiesNo
HappyHourConfigurationformHappyHourConfigurationNo
CountdownConfiguration Parameters:
NameParameterData TypeRequiredDescription
LockdownStepFromEndformintNo
AssertLockdownStepFromEndformintNo
DrawConfiguration Parameters:
NameParameterData TypeRequiredDescription
IntroIntervalInMsformintNo
AnimationIntervalInMsformintNo
OutroIntervalInMsformintNo
RTPStrategies Enum:
NameValue
RNG0
Accumulator1
HappyHourConfiguration Parameters:
NameParameterData TypeRequiredDescription
IsHappyHourformboolNo
OddsModifierformdecimalNo
RoundPoolBonusPctformdecimalNo
HappyHourConfig Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
ItemsformList<HappyHourItem>No
HappyHourItem Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
IntervalformTimeIntervalNo
OddsModifierformdecimalNo
RoundPoolBonusPctformdecimalNo
TimeInterval Parameters:
NameParameterData TypeRequiredDescription
StartformTimePointNo
EndformTimePointNo
TimePoint Parameters:
NameParameterData TypeRequiredDescription
HourformintNo
MinuteformintNo

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 /cmd/configure/game HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"id":"String","configuration":{"queueSize":0,"roundConfiguration":{"coefficients":[0],"isDoubleTripleActive":false,"isJackpot5Active":false,"countdownDurationInSeconds":0,"countdownConfiguration":{"lockdownStepFromEnd":0,"assertLockdownStepFromEnd":0},"drawConfiguration":{"introIntervalInMs":0,"animationIntervalInMs":0,"outroIntervalInMs":0},"resultsDurationInSeconds":0,"rtpStrategy":0,"happyHourConfiguration":{"isHappyHour":false,"oddsModifier":0,"roundPoolBonusPct":0}},"happyHourConfig":{"isActive":false,"items":[{"id":0,"interval":{"start":{"hour":0,"minute":0},"end":{"hour":0,"minute":0}},"oddsModifier":0,"roundPoolBonusPct":0}]}}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}