Six4Win.WebApi

<back to all web services

GetSuperWinAccumulations

The following routes are available for this service:
All Verbs/qry/super-win/accumulations
SuperWinStateDoc Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
StateformSuperWinStateNo
SuperWinState Parameters:
NameParameterData TypeRequiredDescription
CurrentDateformDateTimeNo
AvailableAmountformdecimalNo
PoolsformRecordDictionary<int, SuperWinPool>No
SuperWinPool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StateformSuperWinPoolStateNo
AmountformdecimalNo
ScheduleformRecordList<SuperWinPrize>No
SuperWinPoolState Enum:
NameValue
Idle0
Accumulating1
Awarding2
SuperWinPrize Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
AmountformdecimalNo
ScheduledAtformDateTimeNo
WinnerformSuperWinWinnerNo
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

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/super-win/accumulations 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,
	state: 
	{
		currentDate: 0001-01-01,
		availableAmount: 0,
		pools: 
		{
			0: 
			{
				id: 0,
				state: 0,
				amount: 0,
				schedule: 
				[
					{
						id: 0,
						amount: 0,
						scheduledAt: 0001-01-01,
						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
						}
					}
				]
			}
		}
	}
}