| All Verbs | /qry/config/accumulator |
|---|
# frozen_string_literal: true
# encoding: utf-8
require 'json'
require 'servicestack'
class AccumulatorConfiguration < AccumulatorConfiguration
# @return [String]
attr_accessor :id
# @return [DateTime]
attr_accessor :updated_at
def self.properties
{
id: { name: 'id' },
updated_at: { name: 'updatedAt', type: DateTime },
}
end
end
class GetAccumulatorConfig
include ServiceStack::DTO
def response_type() = AccumulatorConfiguration
def get_type_name() = 'GetAccumulatorConfig'
end
Ruby GetAccumulatorConfig DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /qry/config/accumulator HTTP/1.1
Host: s4w1.api.bettor.webhop.biz
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"id":"String","updatedAt":"0001-01-01T00:00:00.0000000Z","pools":[{"id":0,"name":"String","rtp":0,"reserveRTP":0,"totalRTP":0}],"prevalentStake":0,"purgeThresholdModifier":0,"locationOptimizationLevel":0,"jackPot5ThresholdInterval":{"start":0,"end":0},"deviationCategorySpanInPct":0,"deviationCategoryThresholdAmount":0,"roundPoolCircuitBreakerThreshold":0,"lowWinCountAffinityInPct":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}]},"overflowCoefficientPoolsToRound":false,"antiSyphonProtectionOverride":false,"fraudDetectionConfig":{"antiSyphon":{"combinationCountPerRoundThresholdPct":0,"excludedLocations":[{"id":"String","val":"String"}],"blacklists":{"locations":[{"id":"String","val":"String"}],"players":[{"id":"String","val":"String"}]},"includeRoundPctAsBettorSyphonCriteria":false,"isActive":false}},"debugConfig":{"logLocationStats":false,"logBettorStats":false},"jP5WinnerCooldownPolicy":{"isActive":false,"cooldownIntervalInDays":0}}