| All Verbs | /qry/rounds/draw/diagnostics |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Six4Win.WebApi.ServiceModel
Imports Six4Win.ReadModel
Imports Starnet.Common
Imports Six4Win
Imports Betting.Common
Imports Six4Win.Common
Namespace Global
Namespace Betting.Common
Public Partial Class BettingApp
Public Overridable Property Name As String
Public Overridable Property Version As String
End Class
Public Partial Class Origin
Public Overridable Property Application As BettingApp
Public Overridable Property IP As String
Public Overridable Property Organization As RefEx
Public Overridable Property Region As Ref
Public Overridable Property LocationGroup As Ref
Public Overridable Property Location As RefEx
Public Overridable Property Device As RefEx
Public Overridable Property Clerk As Ref
End Class
End Namespace
Namespace Six4Win
Public Partial Class WinnerByCode
Public Overridable Property RoundId As String
Public Overridable Property DrawnAtUtc As Date
Public Overridable Property SlipId As String
Public Overridable Property BetId As String
Public Overridable Property Code As String
Public Overridable Property Amount As Decimal
Public Overridable Property Origin As Origin
Public Overridable Property Bettor As Ref
Public Overridable Property LocationAddressOrBettorInfo As String
End Class
End Namespace
Namespace Six4Win.Common
Public Partial Class Syphon
Public Overridable Property Id As String
Public Overridable Property Name As String
Public Overridable Property Type As SyphonType
Public Overridable Property NrOfCombinations As Integer
End Class
Public Partial Class SyphonInfo
Public Overridable Property Bettors As Dictionary(Of String, Syphon)
Public Overridable Property Locations As Dictionary(Of String, Syphon)
Public Overridable Property HasSyphons As Boolean
Public Overridable Property TotalSyphonsInRound As Integer
End Class
Public Enum SyphonType
Location = 0
Bettor = 1
End Enum
End Namespace
Namespace Six4Win.ReadModel
Public Partial Class AccumulatorConfiguration
Inherits AccumulatorConfiguration
Public Overridable Property Id As String
Public Overridable Property UpdatedAt As Date
End Class
Public Partial Class DrawDiagnostics
Public Overridable Property Id As String
Public Overridable Property InitializationInfo As Initialization
Public Overridable Property SequenceGenerationInfo As SequenceGeneration
Public Overridable Property BestFitFinderInfo As BestFitFinder
Public Overridable Property PurgerInfo As Purger
Public Overridable Property Duration As Long
Public Overridable Property StimulationResponses As List(Of StimulationResponse)
Public Overridable Property LocalCodePot As LocalCodePotInfo
Public Overridable Property SuperWin As SuperWinInfo
Public Overridable Property HappyHour As HappyHourInfo
Public Overridable Property Reasoning As String
Public Overridable Property Configuration As AccumulatorConfiguration
Public Overridable Property SyphonInfo As SyphonInfo
Public Partial Class Initialization
Public Overridable Property DataLoadDuration As Long
Public Overridable Property BetsCollectionsCreationDuration As Long
Public Overridable Property CombinationsOccuranceLookupInitializationDuration As Long
End Class
Public Partial Class Purger
Public Overridable Property PrevalentStake As Decimal
Public Overridable Property PoolPurger As String
Public Overridable Property QualifiedPools As List(Of QualifiedPool)
End Class
Public Partial Class QualifiedPool
Public Overridable Property Id As Integer
Public Overridable Property Name As String
Public Overridable Property Coefficient As Decimal
Public Overridable Property AvailableAmount As Decimal
Public Overridable Property AwardedAmount As Decimal
Public Overridable Property TargetBet As Bet
Public Partial Class Bet
Public Overridable Property IsFound As Boolean
Public Overridable Property BetId As String
Public Overridable Property SlipId As String
Public Overridable Property CombStake As Object
End Class
End Class
Public Partial Class SequenceGeneration
Public Overridable Property NrOfThreads As Integer
Public Overridable Property NrOfResultsProbed As Integer
Public Overridable Property Duration As Long
Public Overridable Property AvgSinglePassDuration As Long
End Class
Public Partial Class BestFitFinder
Public Overridable Property TargetAmount As Decimal
Public Overridable Property AwardedAmount As Decimal
Public Overridable Property Deviation As Decimal
Public Overridable Property DeviationPct As Decimal
Public Overridable Property SequenceResultType As String
Public Overridable Property IsJackPot5Drawn As Boolean
Public Overridable Property FilteringPeriod As Long
Public Overridable Property WinCountOrder As SortingOrder
Public Overridable Property MinAmount As Decimal
Public Overridable Property MaxAmount As Decimal
End Class
Public Partial Class StimulationResponse
Public Overridable Property StimulationId As String
Public Overridable Property Status As ResponseStatus
Public Overridable Property FailureReason As String
Public Overridable Property SlipId As String
Public Overridable Property BetId As String
Public Overridable Property AmountAwarded As Decimal
Public Enum ResponseStatus
Failure = 0
Success = 1
End Enum
End Class
Public Partial Class LocalCodePotInfo
Public Overridable Property IsActive As Boolean
Public Overridable Property Current As CurrentRoundInfo
Public Overridable Property Winners As List(Of WinnerByCode)
Public Partial Class CurrentRoundInfo
Public Overridable Property RoundId As String
Public Overridable Property Amount As Decimal
Public Overridable Property InertCode As String
End Class
End Class
Public Partial Class SuperWinInfo
Public Overridable Property DurationInMs As Long
End Class
Public Partial Class HappyHourInfo
Public Overridable Property IsHappyHour As Boolean
Public Overridable Property OddsModifier As Decimal
Public Overridable Property RoundPoolBonusPct As Decimal
End Class
End Class
End Namespace
Namespace Six4Win.WebApi.ServiceModel
Public Partial Class GetDrawDignostics
Public Overridable Property Id As String
End Class
End Namespace
Namespace Starnet.Common
Public Partial Class RecordDictionary(Of TKey, TVal)
Inherits Dictionary(Of TKey, TVal)
End Class
Public Partial Class Ref
Public Overridable Property Id As String
Public Overridable Property Val As String
End Class
Public Partial Class RefEx
Inherits Ref
Public Overridable Property Data As RecordDictionary(Of String, String)
End Class
Public Enum SortingOrder
None = 0
Ascending = 1
Descending = 2
End Enum
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /qry/rounds/draw/diagnostics HTTP/1.1
Host: s4w2.api.bettor.cc
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetDrawDignostics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.WebApi.ServiceModel">
<Id>String</Id>
</GetDrawDignostics>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DrawDiagnostics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
<BestFitFinderInfo>
<AwardedAmount>0</AwardedAmount>
<Deviation>0</Deviation>
<DeviationPct>0</DeviationPct>
<FilteringPeriod>0</FilteringPeriod>
<IsJackPot5Drawn>false</IsJackPot5Drawn>
<MaxAmount>0</MaxAmount>
<MinAmount>0</MinAmount>
<SequenceResultType>String</SequenceResultType>
<TargetAmount>0</TargetAmount>
<WinCountOrder>None</WinCountOrder>
</BestFitFinderInfo>
<Configuration xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d2p1:AntiSyphonProtectionOverride>false</d2p1:AntiSyphonProtectionOverride>
<d2p1:DebugConfig>
<d2p1:LogBettorSats>false</d2p1:LogBettorSats>
<d2p1:LogLocationStats>false</d2p1:LogLocationStats>
</d2p1:DebugConfig>
<d2p1:DeviationCategorySpanInPct>0</d2p1:DeviationCategorySpanInPct>
<d2p1:DeviationCategoryThresholdAmount>0</d2p1:DeviationCategoryThresholdAmount>
<d2p1:FraudDetectionConfig>
<d2p1:AntiSyphon>
<d2p1:CombinationCountPerRoundThresholdPct>0</d2p1:CombinationCountPerRoundThresholdPct>
<d2p1:ExcludedLocations xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Ref>
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d5p1:Ref>
</d2p1:ExcludedLocations>
<d2p1:IncludeRoundPctAsBettorSyphonCriteria>false</d2p1:IncludeRoundPctAsBettorSyphonCriteria>
<d2p1:IsActive>false</d2p1:IsActive>
</d2p1:AntiSyphon>
</d2p1:FraudDetectionConfig>
<d2p1:HighRollerSettings>
<d2p1:CategoryThresholds>
<d2p1:HighRollerSettings.CategoryThreshold>
<d2p1:Category>Pickerel</d2p1:Category>
<d2p1:Threshold>0</d2p1:Threshold>
</d2p1:HighRollerSettings.CategoryThreshold>
</d2p1:CategoryThresholds>
<d2p1:Pools>
<d2p1:HighRollerSettings.PoolSettings>
<d2p1:Caps>
<d2p1:MaxAmountInPrevalentStakes>0</d2p1:MaxAmountInPrevalentStakes>
<d2p1:MinusCoef>0</d2p1:MinusCoef>
<d2p1:PlusCoef>0</d2p1:PlusCoef>
</d2p1:Caps>
<d2p1:ContributionToRoundPoolPct>0</d2p1:ContributionToRoundPoolPct>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:Name>String</d2p1:Name>
</d2p1:HighRollerSettings.PoolSettings>
</d2p1:Pools>
</d2p1:HighRollerSettings>
<d2p1:JackPot5ThresholdInterval>
<d2p1:End>0</d2p1:End>
<d2p1:Start>0</d2p1:Start>
</d2p1:JackPot5ThresholdInterval>
<d2p1:LocationOptimizationLevel>None</d2p1:LocationOptimizationLevel>
<d2p1:LowWinCountAffinityInPct>0</d2p1:LowWinCountAffinityInPct>
<d2p1:OverflowCoefficientPoolsToRound>false</d2p1:OverflowCoefficientPoolsToRound>
<d2p1:Pools>
<d2p1:AccumulatorConfiguration.Pool>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:RTP>0</d2p1:RTP>
<d2p1:ReserveRTP>0</d2p1:ReserveRTP>
</d2p1:AccumulatorConfiguration.Pool>
</d2p1:Pools>
<d2p1:PrevalentStake>0</d2p1:PrevalentStake>
<d2p1:PurgeThresholdModifier>0</d2p1:PurgeThresholdModifier>
<d2p1:RoundPoolCircuitBreakerThreshold>0</d2p1:RoundPoolCircuitBreakerThreshold>
<d2p1:WinCountOrderAffinity>
<d2p1:WinCountOrderProbability>
<d2p1:Order>None</d2p1:Order>
<d2p1:Probability>0</d2p1:Probability>
</d2p1:WinCountOrderProbability>
</d2p1:WinCountOrderAffinity>
</Configuration>
<Duration>0</Duration>
<HappyHour>
<IsHappyHour>false</IsHappyHour>
<OddsModifier>0</OddsModifier>
<RoundPoolBonusPct>0</RoundPoolBonusPct>
</HappyHour>
<Id>String</Id>
<InitializationInfo>
<BetsCollectionsCreationDuration>0</BetsCollectionsCreationDuration>
<CombinationsOccuranceLookupInitializationDuration>0</CombinationsOccuranceLookupInitializationDuration>
<DataLoadDuration>0</DataLoadDuration>
</InitializationInfo>
<LocalCodePot>
<DurationInMs>0</DurationInMs>
</LocalCodePot>
<PurgerInfo>
<PoolPurger>String</PoolPurger>
<PrevalentStake>0</PrevalentStake>
<QualifiedPools>
<DrawDiagnostics.QualifiedPool>
<AvailableAmount>0</AvailableAmount>
<AwardedAmount>0</AwardedAmount>
<Coefficient>0</Coefficient>
<Id>0</Id>
<Name>String</Name>
<TargetBet>
<BetId>String</BetId>
<CombStake />
<IsFound>false</IsFound>
<SlipId>String</SlipId>
</TargetBet>
</DrawDiagnostics.QualifiedPool>
</QualifiedPools>
</PurgerInfo>
<Reasoning>String</Reasoning>
<SequenceGenerationInfo>
<AvgSinglePassDuration>0</AvgSinglePassDuration>
<Duration>0</Duration>
<NrOfResultsProbed>0</NrOfResultsProbed>
<NrOfThreads>0</NrOfThreads>
</SequenceGenerationInfo>
<StimulationResponses>
<DrawDiagnostics.StimulationResponse>
<AmountAwarded>0</AmountAwarded>
<BetId>String</BetId>
<FailureReason>String</FailureReason>
<SlipId>String</SlipId>
<Status>Failure</Status>
<StimulationId>String</StimulationId>
</DrawDiagnostics.StimulationResponse>
</StimulationResponses>
<SuperWin>
<DurationInMs>0</DurationInMs>
</SuperWin>
<SyphonInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win.Common">
<d2p1:Bettors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringSyphonFQuwRXs4>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>
<d2p1:Id>String</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:NrOfCombinations>0</d2p1:NrOfCombinations>
<d2p1:Type>Location</d2p1:Type>
</d3p1:Value>
</d3p1:KeyValueOfstringSyphonFQuwRXs4>
</d2p1:Bettors>
<d2p1:Locations xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringSyphonFQuwRXs4>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>
<d2p1:Id>String</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
<d2p1:NrOfCombinations>0</d2p1:NrOfCombinations>
<d2p1:Type>Location</d2p1:Type>
</d3p1:Value>
</d3p1:KeyValueOfstringSyphonFQuwRXs4>
</d2p1:Locations>
</SyphonInfo>
</DrawDiagnostics>