Betting.WebApi

<back to all web services

GetAccumulatorConfig

The following routes are available for this service:
All Verbs/config/accumulator
AccumulatorConfiguration Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
PoolsformList<Pool>No
PrevalentStakeformdecimalNo
PurgeThresholdModifierformdecimalNo
LocationOptimizationLevelformLocationOptimizationLevelNo
JackPot5ThresholdIntervalformThresholdIntervalNo
DeviationCategorySpanInPctformintNo
RoundPoolCircuitBreakerThresholdformdecimalNo
WinCountOrderAffinityformList<WinCountOrderProbability>No
HighRollerSettingsformHighRollerSettingsNo
Pool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
RTPformdecimalNo
LocationOptimizationLevel Enum:
NameValue
None0
Low1
Medium2
High3
ThresholdInterval Parameters:
NameParameterData TypeRequiredDescription
StartformdecimalNo
EndformdecimalNo
WinCountOrderProbability Parameters:
NameParameterData TypeRequiredDescription
OrderformOrderNo
ProbabilityformintNo
Order Enum:
NameValue
None0
Ascending1
Descending2
HighRollerSettings Parameters:
NameParameterData TypeRequiredDescription
PoolsformList<PoolSettings>No
CategoryThresholdsformList<CategoryThreshold>No
PoolSettings Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
IsActiveformboolNo
ContributionToRoundPoolPctformdecimalNo
CapsformPoolCapsNo
PoolCaps Parameters:
NameParameterData TypeRequiredDescription
PlusCoefformdecimalNo
MinusCoefformdecimalNo
MaxAmountInPrevalentStakesformdecimalNo
CategoryThreshold Parameters:
NameParameterData TypeRequiredDescription
CategoryformStakeCategoryNo
ThresholdformdecimalNo
StakeCategory Enum:
NameValue
Pickerel0
Fish1
Salmon2
Tuna3
Shark4
Whale5
None-1

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 /config/accumulator HTTP/1.1 
Host: s4wapi.mozzart.ath.cx 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

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

{
	id: String,
	pools: 
	[
		{
			id: 0,
			name: String,
			rtp: 0
		}
	],
	prevalentStake: 0,
	purgeThresholdModifier: 0,
	locationOptimizationLevel: 0,
	jackPot5ThresholdInterval: 
	{
		start: 0,
		end: 0
	},
	deviationCategorySpanInPct: 0,
	roundPoolCircuitBreakerThreshold: 0,
	winCountOrderAffinity: 
	[
		{
			order: 0,
			probability: 0
		}
	],
	highRollerSettings: 
	{
		pools: 
		[
			{
				id: 0,
				name: String,
				isActive: False,
				contributionToRoundPoolPct: 0,
				caps: 
				{
					plusCoef: 0,
					minusCoef: 0,
					maxAmountInPrevalentStakes: 0
				}
			}
		],
		categoryThresholds: 
		[
			{
				category: 0,
				threshold: 0
			}
		]
	}
}