Six4Win.WebApi

<back to all web services

GetDrawDignostics

The following routes are available for this service:
All Verbs/qry/rounds/draw/diagnostics
GetDrawDignostics Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
DrawDiagnostics Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
InitializationInfoformInitializationNo
SequenceGenerationInfoformSequenceGenerationNo
BestFitFinderInfoformBestFitFinderNo
PurgerInfoformPurgerNo
DurationformlongNo
StimulationResponsesformList<StimulationResponse>No
LocalCodePotformLocalCodePotInfoNo
SuperWinformSuperWinInfoNo
HappyHourformHappyHourInfoNo
Initialization Parameters:
NameParameterData TypeRequiredDescription
DataLoadDurationformlongNo
BetsCollectionsCreationDurationformlongNo
CombinationsOccuranceLookupInitializationDurationformlongNo
SequenceGeneration Parameters:
NameParameterData TypeRequiredDescription
NrOfThreadsformintNo
NrOfResultsProbedformintNo
DurationformlongNo
AvgSinglePassDurationformlongNo
BestFitFinder Parameters:
NameParameterData TypeRequiredDescription
TargetAmountformdecimalNo
AwardedAmountformdecimalNo
DeviationformdecimalNo
DeviationPctformdecimalNo
SequenceResultTypeformstringNo
IsJackPot5DrawnformboolNo
FilteringPeriodformlongNo
WinCountOrderformSortingOrderNo
SortingOrder Enum:
NameValue
None0
Ascending1
Descending2
Purger Parameters:
NameParameterData TypeRequiredDescription
PrevalentStakeformdecimalNo
PoolPurgerformstringNo
QualifiedPoolsformList<QualifiedPool>No
QualifiedPool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
CoefficientformdecimalNo
AvailableAmountformdecimalNo
AwardedAmountformdecimalNo
TargetBetformBetNo
Bet Parameters:
NameParameterData TypeRequiredDescription
IsFoundformboolNo
BetIdformstringNo
SlipIdformstringNo
CombStakeformObjectNo
StimulationResponse Parameters:
NameParameterData TypeRequiredDescription
StimulationIdformstringNo
StatusformResponseStatusNo
FailureReasonformstringNo
SlipIdformstringNo
BetIdformstringNo
AmountAwardedformdecimalNo
ResponseStatus Enum:
NameValue
Failure0
Success1
LocalCodePotInfo Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
CurrentformCurrentRoundInfoNo
WinnersformList<Winner>No
CurrentRoundInfo Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
AmountformdecimalNo
InertCodeformstringNo
Winner Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
SlipIdformstringNo
BetIdformstringNo
CodeformstringNo
AmountformdecimalNo
SuperWinInfo Parameters:
NameParameterData TypeRequiredDescription
DurationInMsformlongNo
HappyHourInfo Parameters:
NameParameterData TypeRequiredDescription
IsHappyHourformboolNo
OddsModifierformdecimalNo
RoundPoolBonusPctformdecimalNo

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/rounds/draw/diagnostics HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	id: String,
	initializationInfo: 
	{
		dataLoadDuration: 0,
		betsCollectionsCreationDuration: 0,
		combinationsOccuranceLookupInitializationDuration: 0
	},
	sequenceGenerationInfo: 
	{
		nrOfThreads: 0,
		nrOfResultsProbed: 0,
		duration: 0,
		avgSinglePassDuration: 0
	},
	bestFitFinderInfo: 
	{
		targetAmount: 0,
		awardedAmount: 0,
		deviation: 0,
		deviationPct: 0,
		sequenceResultType: String,
		isJackPot5Drawn: False,
		filteringPeriod: 0,
		winCountOrder: 0
	},
	purgerInfo: 
	{
		prevalentStake: 0,
		poolPurger: String,
		qualifiedPools: 
		[
			{
				id: 0,
				name: String,
				coefficient: 0,
				availableAmount: 0,
				awardedAmount: 0,
				targetBet: 
				{
					isFound: False,
					betId: String,
					slipId: String,
					combStake: {}
				}
			}
		]
	},
	duration: 0,
	stimulationResponses: 
	[
		{
			stimulationId: String,
			status: 0,
			failureReason: String,
			slipId: String,
			betId: String,
			amountAwarded: 0
		}
	],
	localCodePot: 
	{
		durationInMs: 0
	},
	superWin: 
	{
		durationInMs: 0
	},
	happyHour: 
	{
		isHappyHour: False,
		oddsModifier: 0,
		roundPoolBonusPct: 0
	}
}