Six4Win.WebApi

<back to all web services

FindRoundResults

The following routes are available for this service:
All Verbs/qry/rounds/results
FindRoundResults Parameters:
NameParameterData TypeRequiredDescription
RoundIdquerystringNo
FilterquerystringNo

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

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

<ArrayOfRoundResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
  <RoundResults>
    <CreatedAt>0001-01-01T00:00:00</CreatedAt>
    <Id>String</Id>
    <Sequence>String</Sequence>
    <SuperWinInfo xmlns:d3p1="http://schemas.datacontract.org/2004/07/Six4Win">
      <d3p1:AllPrizesAwarded>false</d3p1:AllPrizesAwarded>
      <d3p1:AvailableAmount>0</d3p1:AvailableAmount>
      <d3p1:IsActive>false</d3p1:IsActive>
      <d3p1:Winner>
        <d3p1:Amount>0</d3p1:Amount>
        <d3p1:BetId>String</d3p1:BetId>
        <d3p1:Bettor xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
          <d5p1:Id>String</d5p1:Id>
          <d5p1:Val>String</d5p1:Val>
        </d3p1:Bettor>
        <d3p1:Code>String</d3p1:Code>
        <d3p1:DrawnAtUtc>0001-01-01T00:00:00</d3p1:DrawnAtUtc>
        <d3p1:IsDrawn>false</d3p1:IsDrawn>
        <d3p1:Origin xmlns:d5p1="http://schemas.datacontract.org/2004/07/Betting.Common">
          <d5p1:Application>
            <d5p1:IsSelfService>false</d5p1:IsSelfService>
            <d5p1:Name>String</d5p1:Name>
            <d5p1:Version>String</d5p1:Version>
          </d5p1:Application>
          <d5p1:Clerk xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:Clerk>
          <d5p1:Device xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:Device>
          <d5p1:IP>String</d5p1:IP>
          <d5p1:Location xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:Location>
          <d5p1:LocationGroup xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:LocationGroup>
          <d5p1:Organization xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:Organization>
          <d5p1:Region xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
            <d6p1:Id>String</d6p1:Id>
            <d6p1:Val>String</d6p1:Val>
          </d5p1:Region>
        </d3p1:Origin>
        <d3p1:RoundId>String</d3p1:RoundId>
        <d3p1:SlipId>String</d3p1:SlipId>
      </d3p1:Winner>
    </SuperWinInfo>
  </RoundResults>
</ArrayOfRoundResults>