Six4Win.WebApi

<back to all web services

GetFeed

The following routes are available for this service:
All Verbs/qry/feed
Feed Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
RoundformRoundNo
LastJackpot5InfoformJackpot5InfoNo
SuperWinInfoformSuperWinInfoNo
Round Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CreatedAtformDateTimeNo
UpdatedAtformDateTimeNo
ShouldStartAtUtcformDateTimeNo
StartedAtUtcformDateTimeNo
StatusformRoundStatusNo
ConfigurationformRoundConfigurationNo
SequenceformstringNo
Jackpot5InfoformJackpot5InfoNo
SuperWinInfoformSuperWinInfoNo
ProgressformRoundProgressNo
IsLockedformboolNo
IsCalculatedformboolNo
RoundStatus Enum:
NameValue
Pending0
InProgress1
Ended2
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
Jackpot5Info Parameters:
NameParameterData TypeRequiredDescription
IsHitformboolNo
AmountAccumulatedformdecimalNo
AmountAwardedformdecimalNo
NrOfWinnersformintNo
JackPot5WinnersformList<JackPot5Winner>No
JackPot5Winner Parameters:
NameParameterData TypeRequiredDescription
BetIdformstringNo
NrOfCombinationsformintNo
WinningsAmountformdecimalNo
OriginformOriginNo
BettorformRefNo
PayloadformDictionary<string, string>No
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
SuperWinInfo Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
WinnerformSuperWinWinnerNo
AvailableAmountformdecimalNo
AllPrizesAwardedformboolNo
SuperWinWinner Parameters:
NameParameterData TypeRequiredDescription
IsDrawnformboolNo
DrawnAtUtcformDateTimeNo
RoundIdformstringNo
BetIdformstringNo
SlipIdformstringNo
OriginformOriginNo
BettorformRefNo
CodeformstringNo
AmountformdecimalNo
RoundProgress Parameters:
NameParameterData TypeRequiredDescription
StageformStagesNo
StepformintNo
StepsformintNo
UTCTimestampformDateTimeNo
Stages Enum:
NameValue
None0
Countdown1
Processing2
Draw3
Results4

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/feed 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,
	round: 
	{
		id: String,
		createdAt: 0001-01-01,
		updatedAt: 0001-01-01,
		shouldStartAtUtc: 0001-01-01,
		startedAtUtc: 0001-01-01,
		status: 0,
		configuration: 
		{
			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
			}
		},
		sequence: String,
		jackpot5Info: 
		{
			isHit: False,
			amountAccumulated: 0,
			amountAwarded: 0,
			nrOfWinners: 0,
			jackPot5Winners: 
			[
				{
					betId: String,
					nrOfCombinations: 0,
					winningsAmount: 0,
					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
					},
					payload: 
					{
						String: String
					}
				}
			]
		},
		superWinInfo: 
		{
			isActive: False,
			winner: 
			{
				isDrawn: False,
				drawnAtUtc: 0001-01-01,
				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
			},
			availableAmount: 0,
			allPrizesAwarded: False
		},
		progress: 
		{
			stage: 0,
			step: 0,
			steps: 0,
			utcTimestamp: 0001-01-01
		},
		isLocked: False,
		isCalculated: False
	},
	lastJackpot5Info: 
	{
		isHit: False,
		amountAccumulated: 0,
		amountAwarded: 0,
		nrOfWinners: 0,
		jackPot5Winners: 
		[
			{
				betId: String,
				nrOfCombinations: 0,
				winningsAmount: 0,
				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
				},
				payload: 
				{
					String: String
				}
			}
		]
	},
	superWinInfo: 
	{
		isActive: False,
		winner: 
		{
			isDrawn: False,
			drawnAtUtc: 0001-01-01,
			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
		},
		availableAmount: 0,
		allPrizesAwarded: False
	}
}