Six4Win.WebApi

<back to all web services

GetDraw

The following routes are available for this service:
All Verbs/qry/rounds/draw
GetDraw Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
Draw Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
SequenceformstringNo
InputAccumulationformList<Pool>No
OutputAccumulationformList<Pool>No
OutcomeformRoundOutcomeNo
Pool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
CoefficientformdecimalNo
RTPformdecimalNo
ThresholdformdecimalNo
BalanceformdecimalNo
RoundOutcome Parameters:
NameParameterData TypeRequiredDescription
DrawformList<DrawItem>No
CustomBetOutcomesformList<CustomBetOutcome>No
LCPWinnersformList<Winner>No
SuperWinInfoformSuperWinInfoNo
StakeformdecimalNo
WinningsformdecimalNo
BalanceformdecimalNo
ReturnToPlayerformdecimalNo
Jackpot5InfoformJackpot5InfoNo
WinCountformintNo
DrawItem Parameters:
NameParameterData TypeRequiredDescription
OrdinalformintNo
NumberformintNo
CoefficientformfloatNo
IsDoubleTripleformboolNo
ConstitutesJackpotformboolNo
HitsformintNo
WinformdecimalNo
CustomBetOutcome Parameters:
NameParameterData TypeRequiredDescription
TypeformCustomBetTypeNo
CoefformfloatNo
WinCountformintNo
WinformdecimalNo
IsWinformboolNo
ResultsformstringNo
CustomBetType Enum:
NameValue
FirstNumberOdd4
FirstNumberEven5
FirstNumberLessThan24_56
FirstNumberGreaterThan24_57
SumOfFirstFiveLessThan122_58
SumOfFirstFiveGreaterThan122_59
FirstColor110
FirstColor211
FirstColor312
FirstColor413
FirstColor514
FirstColor615
FirstColor716
FirstColor817
MoreOddNumbers18
MoreEvenNumbers19
Winner Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
SlipIdformstringNo
BetIdformstringNo
CodeformstringNo
AmountformdecimalNo
SuperWinInfo Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
WinnerformSuperWinWinnerNo
AvailableAmountformdecimalNo
AllPrizesAwardedformboolNo
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
Jackpot5Info Parameters:
NameParameterData TypeRequiredDescription
IsHitformboolNo
AmountAccumulatedformdecimalNo
AmountAwardedformdecimalNo
NrOfWinnersformintNo
JackPot5WinnersformList<JackPot5Winner>No
JackPot5Winner Parameters:
NameParameterData TypeRequiredDescription
BetIdformstringNo
NrOfCombinationsformintNo
WinningsAmountformdecimalNo
OriginformOriginNo
BettorformRefNo
PayloadformDictionary<string, string>No

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 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,
	sequence: String,
	inputAccumulation: 
	[
		{
			id: 0,
			name: String,
			amount: 0
		}
	],
	outputAccumulation: 
	[
		{
			id: 0,
			name: String,
			amount: 0
		}
	],
	outcome: 
	{
		draw: 
		[
			{
				ordinal: 0,
				number: 0,
				coefficient: 0,
				isDoubleTriple: False,
				constitutesJackpot: False,
				hits: 0,
				win: 0
			}
		],
		customBetOutcomes: 
		[
			{
				type: 4,
				coef: 0,
				winCount: 0,
				win: 0,
				isWin: False,
				results: String
			}
		],
		lcpWinners: 
		[
			{
				roundId: String,
				slipId: String,
				betId: String,
				code: String,
				amount: 0
			}
		],
		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
		},
		stake: 0,
		winnings: 0,
		balance: 0,
		returnToPlayer: 0,
		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
					}
				}
			]
		},
		winCount: 0
	}
}