Six4Win.WebApi

<back to all web services

GetDrawDignostics

The following routes are available for this service:
All Verbs/qry/rounds/draw/diagnostics
GetDrawDignostics Parameters:
NameParameterData TypeRequiredDescription
IdquerystringNo
DrawDiagnostics Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
InitializationInfoformInitializationNo
SequenceGenerationInfoformSequenceGenerationNo
BestFitFinderInfoformBestFitFinderNo
PurgerInfoformPurgerNo
DurationformlongNo
StimulationResponsesformList<StimulationResponse>No
LocalCodePotformLocalCodePotInfoNo
SuperWinformSuperWinInfoNo
HappyHourformHappyHourInfoNo
Initialization Parameters:
NameParameterData TypeRequiredDescription
DataLoadDurationformlongNo
BetsCollectionsCreationDurationformlongNo
CombinationsOccuranceLookupInitializationDurationformlongNo
SequenceGeneration Parameters:
NameParameterData TypeRequiredDescription
NrOfThreadsformintNo
NrOfResultsProbedformintNo
DurationformlongNo
AvgSinglePassDurationformlongNo
BestFitFinder Parameters:
NameParameterData TypeRequiredDescription
TargetAmountformdecimalNo
AwardedAmountformdecimalNo
DeviationformdecimalNo
DeviationPctformdecimalNo
SequenceResultTypeformstringNo
IsJackPot5DrawnformboolNo
FilteringPeriodformlongNo
WinCountOrderformSortingOrderNo
SortingOrder Enum:
NameValue
None0
Ascending1
Descending2
Purger Parameters:
NameParameterData TypeRequiredDescription
PrevalentStakeformdecimalNo
PoolPurgerformstringNo
QualifiedPoolsformList<QualifiedPool>No
QualifiedPool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
CoefficientformdecimalNo
AvailableAmountformdecimalNo
AwardedAmountformdecimalNo
TargetBetformBetNo
Bet Parameters:
NameParameterData TypeRequiredDescription
IsFoundformboolNo
BetIdformstringNo
SlipIdformstringNo
CombStakeformObjectNo
StimulationResponse Parameters:
NameParameterData TypeRequiredDescription
StimulationIdformstringNo
StatusformResponseStatusNo
FailureReasonformstringNo
SlipIdformstringNo
BetIdformstringNo
AmountAwardedformdecimalNo
ResponseStatus Enum:
NameValue
Failure0
Success1
LocalCodePotInfo Parameters:
NameParameterData TypeRequiredDescription
IsActiveformboolNo
CurrentformCurrentRoundInfoNo
WinnersformList<Winner>No
CurrentRoundInfo Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
AmountformdecimalNo
InertCodeformstringNo
Winner Parameters:
NameParameterData TypeRequiredDescription
RoundIdformstringNo
SlipIdformstringNo
BetIdformstringNo
CodeformstringNo
AmountformdecimalNo
SuperWinInfo Parameters:
NameParameterData TypeRequiredDescription
DurationInMsformlongNo
HappyHourInfo Parameters:
NameParameterData TypeRequiredDescription
IsHappyHourformboolNo
OddsModifierformdecimalNo
RoundPoolBonusPctformdecimalNo

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/rounds/draw/diagnostics HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
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>
    <SequenceResultType>String</SequenceResultType>
    <TargetAmount>0</TargetAmount>
    <WinCountOrder>None</WinCountOrder>
  </BestFitFinderInfo>
  <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>
  <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>
</DrawDiagnostics>