Six4Win.WebApi

<back to all web services

GetGameConfig

The following routes are available for this service:
All Verbs/qry/config/game
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

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

{
	id: String,
	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
			}
		]
	}
}