Six4Win.WebApi

<back to all web services

ConfigureAccumulator

Requires Authentication
The following routes are available for this service:
POST/cmd/configure/accumulator
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class ConfigureAccumulator
    {
        public String id = null;
        public AccumulatorConfiguration configuration = null;
        
        public String getId() { return id; }
        public ConfigureAccumulator setId(String value) { this.id = value; return this; }
        public AccumulatorConfiguration getConfiguration() { return configuration; }
        public ConfigureAccumulator setConfiguration(AccumulatorConfiguration value) { this.configuration = value; return this; }
    }

    public static class AccumulatorConfiguration extends AccumulatorConfiguration
    {
        public String id = null;
        public Date updatedAt = null;
        
        public String getId() { return id; }
        public AccumulatorConfiguration setId(String value) { this.id = value; return this; }
        public Date getUpdatedAt() { return updatedAt; }
        public AccumulatorConfiguration setUpdatedAt(Date value) { this.updatedAt = value; return this; }
    }

}

Java ConfigureAccumulator DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /cmd/configure/accumulator HTTP/1.1 
Host: s4w2.api.bettor.cc 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":"String","configuration":{"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"}],"includeRoundPctAsBettorSyphonCriteria":false,"isActive":false}},"debugConfig":{"logLocationStats":false,"logBettorSats":false}}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}