Six4Win.WebApi

<back to all web services

GetSuperWinAccumulations

The following routes are available for this service:
All Verbs/qry/super-win/accumulations
SuperWinStateDoc Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
StateformSuperWinStateNo
SuperWinState Parameters:
NameParameterData TypeRequiredDescription
CurrentDateformDateTimeNo
AvailableAmountformdecimalNo
PoolsformRecordDictionary<int, SuperWinPool>No
SuperWinPool Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
StateformSuperWinPoolStateNo
AmountformdecimalNo
ScheduleformRecordList<SuperWinPrize>No
SuperWinPoolState Enum:
NameValue
Idle0
Accumulating1
Awarding2
SuperWinPrize Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
AmountformdecimalNo
ScheduledAtformDateTimeNo
WinnerformSuperWinWinnerNo
SuperWinWinner Parameters:
NameParameterData TypeRequiredDescription
IsDrawnformboolNo
DrawnAtUtcformDateTimeNo
RoundIdformstringNo
BetIdformstringNo
SlipIdformstringNo
OriginformOriginNo
BettorformRefNo
CodeformstringNo
AmountformdecimalNo
Origin Parameters:
NameParameterData TypeRequiredDescription
ApplicationformBettingAppNo
IPformstringNo
OrganizationformRefNo
RegionformRefNo
LocationGroupformRefNo
LocationformRefNo
DeviceformRefNo
ClerkformRefNo
BettingApp Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
VersionformstringNo
IsSelfServiceformboolNo
Ref Parameters:
NameParameterData TypeRequiredDescription
IdformstringYes
ValformstringYes

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/super-win/accumulations HTTP/1.1 
Host: s4w2.api.bengabet.webhop.biz 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<GetSuperWinAccumulations 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

<SuperWinStateDoc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
  <Id>String</Id>
  <State xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win">
    <d2p1:AvailableAmount>0</d2p1:AvailableAmount>
    <d2p1:CurrentDate>0001-01-01T00:00:00</d2p1:CurrentDate>
    <d2p1:Pools xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfintSuperWinPoolQC5r2uXE>
        <d3p1:Key>0</d3p1:Key>
        <d3p1:Value>
          <d2p1:Amount>0</d2p1:Amount>
          <d2p1:Id>0</d2p1:Id>
          <d2p1:Schedule>
            <d2p1:SuperWinPrize>
              <d2p1:Amount>0</d2p1:Amount>
              <d2p1:Id>0</d2p1:Id>
              <d2p1:ScheduledAt>0001-01-01T00:00:00</d2p1:ScheduledAt>
              <d2p1:Winner>
                <d2p1:Amount>0</d2p1:Amount>
                <d2p1:BetId>String</d2p1:BetId>
                <d2p1:Bettor xmlns:d9p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                  <d9p1:Id>String</d9p1:Id>
                  <d9p1:Val>String</d9p1:Val>
                </d2p1:Bettor>
                <d2p1:Code>String</d2p1:Code>
                <d2p1:DrawnAtUtc>0001-01-01T00:00:00</d2p1:DrawnAtUtc>
                <d2p1:IsDrawn>false</d2p1:IsDrawn>
                <d2p1:Origin xmlns:d9p1="http://schemas.datacontract.org/2004/07/Betting.Common">
                  <d9p1:Application>
                    <d9p1:IsSelfService>false</d9p1:IsSelfService>
                    <d9p1:Name>String</d9p1:Name>
                    <d9p1:Version>String</d9p1:Version>
                  </d9p1:Application>
                  <d9p1:Clerk xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:Clerk>
                  <d9p1:Device xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:Device>
                  <d9p1:IP>String</d9p1:IP>
                  <d9p1:Location xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:Location>
                  <d9p1:LocationGroup xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:LocationGroup>
                  <d9p1:Organization xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:Organization>
                  <d9p1:Region xmlns:d10p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
                    <d10p1:Id>String</d10p1:Id>
                    <d10p1:Val>String</d10p1:Val>
                  </d9p1:Region>
                </d2p1:Origin>
                <d2p1:RoundId>String</d2p1:RoundId>
                <d2p1:SlipId>String</d2p1:SlipId>
              </d2p1:Winner>
            </d2p1:SuperWinPrize>
          </d2p1:Schedule>
          <d2p1:State>Idle</d2p1:State>
        </d3p1:Value>
      </d3p1:KeyValueOfintSuperWinPoolQC5r2uXE>
    </d2p1:Pools>
  </State>
</SuperWinStateDoc>