Six4Win.WebApi

<back to all web services

GetAccumulatorConfig

The following routes are available for this service:
All Verbs/qry/config/accumulator
import 'package:servicestack/servicestack.dart';

class AccumulatorConfiguration extends AccumulatorConfiguration implements IConvertible
{
    String? id;
    DateTime? updatedAt;

    AccumulatorConfiguration({this.id,this.updatedAt});
    AccumulatorConfiguration.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        super.fromMap(json);
        id = json['id'];
        updatedAt = JsonConverters.fromJson(json['updatedAt'],'DateTime',context!);
        return this;
    }

    Map<String, dynamic> toJson() => super.toJson()..addAll({
        'id': id,
        'updatedAt': JsonConverters.toJson(updatedAt,'DateTime',context!)
    });

    getTypeName() => "AccumulatorConfiguration";
    TypeContext? context = _ctx;
}

class GetAccumulatorConfig implements IConvertible
{
    GetAccumulatorConfig();
    GetAccumulatorConfig.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "GetAccumulatorConfig";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 's4w2.api.bettor.cc', types: <String, TypeInfo> {
    'AccumulatorConfiguration': TypeInfo(TypeOf.Class, create:() => AccumulatorConfiguration()),
    'GetAccumulatorConfig': TypeInfo(TypeOf.Class, create:() => GetAccumulatorConfig()),
});

Dart GetAccumulatorConfig DTOs

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

HTTP + XML

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: s4w2.api.bettor.cc 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetAccumulatorConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.WebApi.ServiceModel" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AccumulatorConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
  <AntiSyphonProtectionOverride xmlns="http://schemas.datacontract.org/2004/07/Six4Win">false</AntiSyphonProtectionOverride>
  <DebugConfig xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <LogBettorSats>false</LogBettorSats>
    <LogLocationStats>false</LogLocationStats>
  </DebugConfig>
  <DeviationCategorySpanInPct xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</DeviationCategorySpanInPct>
  <DeviationCategoryThresholdAmount xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</DeviationCategoryThresholdAmount>
  <FraudDetectionConfig xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <AntiSyphon>
      <CombinationCountPerRoundThresholdPct>0</CombinationCountPerRoundThresholdPct>
      <ExcludedLocations xmlns:d4p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
        <d4p1:Ref>
          <d4p1:Id>String</d4p1:Id>
          <d4p1:Val>String</d4p1:Val>
        </d4p1:Ref>
      </ExcludedLocations>
      <IncludeRoundPctAsBettorSyphonCriteria>false</IncludeRoundPctAsBettorSyphonCriteria>
      <IsActive>false</IsActive>
    </AntiSyphon>
  </FraudDetectionConfig>
  <HighRollerSettings xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <CategoryThresholds>
      <HighRollerSettings.CategoryThreshold>
        <Category>Pickerel</Category>
        <Threshold>0</Threshold>
      </HighRollerSettings.CategoryThreshold>
    </CategoryThresholds>
    <Pools>
      <HighRollerSettings.PoolSettings>
        <Caps>
          <MaxAmountInPrevalentStakes>0</MaxAmountInPrevalentStakes>
          <MinusCoef>0</MinusCoef>
          <PlusCoef>0</PlusCoef>
        </Caps>
        <ContributionToRoundPoolPct>0</ContributionToRoundPoolPct>
        <Id>0</Id>
        <IsActive>false</IsActive>
        <Name>String</Name>
      </HighRollerSettings.PoolSettings>
    </Pools>
  </HighRollerSettings>
  <JackPot5ThresholdInterval xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <End>0</End>
    <Start>0</Start>
  </JackPot5ThresholdInterval>
  <LocationOptimizationLevel xmlns="http://schemas.datacontract.org/2004/07/Six4Win">None</LocationOptimizationLevel>
  <LowWinCountAffinityInPct xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</LowWinCountAffinityInPct>
  <OverflowCoefficientPoolsToRound xmlns="http://schemas.datacontract.org/2004/07/Six4Win">false</OverflowCoefficientPoolsToRound>
  <Pools xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <AccumulatorConfiguration.Pool>
      <Id>0</Id>
      <Name>String</Name>
      <RTP>0</RTP>
      <ReserveRTP>0</ReserveRTP>
    </AccumulatorConfiguration.Pool>
  </Pools>
  <PrevalentStake xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</PrevalentStake>
  <PurgeThresholdModifier xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</PurgeThresholdModifier>
  <RoundPoolCircuitBreakerThreshold xmlns="http://schemas.datacontract.org/2004/07/Six4Win">0</RoundPoolCircuitBreakerThreshold>
  <WinCountOrderAffinity xmlns="http://schemas.datacontract.org/2004/07/Six4Win">
    <WinCountOrderProbability>
      <Order>None</Order>
      <Probability>0</Probability>
    </WinCountOrderProbability>
  </WinCountOrderAffinity>
  <Id>String</Id>
  <UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
</AccumulatorConfiguration>