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/feed HTTP/1.1
Host: s4w2.api.bengabet.webhop.biz
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetFeed 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
<Feed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
<Id>String</Id>
<LastJackpot5Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d2p1:AmountAccumulated>0</d2p1:AmountAccumulated>
<d2p1:AmountAwarded>0</d2p1:AmountAwarded>
<d2p1:IsHit>false</d2p1:IsHit>
<d2p1:JackPot5Winners>
<d2p1:JackPot5Winner>
<d2p1:BetId>String</d2p1:BetId>
<d2p1:Bettor xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d2p1:Bettor>
<d2p1:NrOfCombinations>0</d2p1:NrOfCombinations>
<d2p1: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>
</d2p1:Origin>
<d2p1:Payload xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Payload>
<d2p1:WinningsAmount>0</d2p1:WinningsAmount>
</d2p1:JackPot5Winner>
</d2p1:JackPot5Winners>
<d2p1:NrOfWinners>0</d2p1:NrOfWinners>
</LastJackpot5Info>
<Round>
<Configuration xmlns:d3p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d3p1:Coefficients xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:float>0</d4p1:float>
</d3p1:Coefficients>
<d3p1:CountdownConfiguration>
<d3p1:AssertLockdownStepFromEnd>0</d3p1:AssertLockdownStepFromEnd>
<d3p1:LockdownStepFromEnd>0</d3p1:LockdownStepFromEnd>
</d3p1:CountdownConfiguration>
<d3p1:CountdownDurationInSeconds>0</d3p1:CountdownDurationInSeconds>
<d3p1:DrawConfiguration>
<d3p1:AnimationIntervalInMs>0</d3p1:AnimationIntervalInMs>
<d3p1:IntroIntervalInMs>0</d3p1:IntroIntervalInMs>
<d3p1:OutroIntervalInMs>0</d3p1:OutroIntervalInMs>
</d3p1:DrawConfiguration>
<d3p1:HappyHourConfiguration>
<d3p1:IsHappyHour>false</d3p1:IsHappyHour>
<d3p1:OddsModifier>0</d3p1:OddsModifier>
<d3p1:RoundPoolBonusPct>0</d3p1:RoundPoolBonusPct>
</d3p1:HappyHourConfiguration>
<d3p1:IsDoubleTripleActive>false</d3p1:IsDoubleTripleActive>
<d3p1:IsJackpot5Active>false</d3p1:IsJackpot5Active>
<d3p1:RTPStrategy>RNG</d3p1:RTPStrategy>
<d3p1:ResultsDurationInSeconds>0</d3p1:ResultsDurationInSeconds>
</Configuration>
<CreatedAt>0001-01-01T00:00:00</CreatedAt>
<Id>String</Id>
<IsCalculated>false</IsCalculated>
<IsLocked>false</IsLocked>
<Jackpot5Info xmlns:d3p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d3p1:AmountAccumulated>0</d3p1:AmountAccumulated>
<d3p1:AmountAwarded>0</d3p1:AmountAwarded>
<d3p1:IsHit>false</d3p1:IsHit>
<d3p1:JackPot5Winners>
<d3p1:JackPot5Winner>
<d3p1:BetId>String</d3p1:BetId>
<d3p1:Bettor xmlns:d6p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d6p1:Id>String</d6p1:Id>
<d6p1:Val>String</d6p1:Val>
</d3p1:Bettor>
<d3p1:NrOfCombinations>0</d3p1:NrOfCombinations>
<d3p1:Origin xmlns:d6p1="http://schemas.datacontract.org/2004/07/Betting.Common">
<d6p1:Application>
<d6p1:IsSelfService>false</d6p1:IsSelfService>
<d6p1:Name>String</d6p1:Name>
<d6p1:Version>String</d6p1:Version>
</d6p1:Application>
<d6p1:Clerk xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:Clerk>
<d6p1:Device xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:Device>
<d6p1:IP>String</d6p1:IP>
<d6p1:Location xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:Location>
<d6p1:LocationGroup xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:LocationGroup>
<d6p1:Organization xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:Organization>
<d6p1:Region xmlns:d7p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d7p1:Id>String</d7p1:Id>
<d7p1:Val>String</d7p1:Val>
</d6p1:Region>
</d3p1:Origin>
<d3p1:Payload xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringstring>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value>String</d6p1:Value>
</d6p1:KeyValueOfstringstring>
</d3p1:Payload>
<d3p1:WinningsAmount>0</d3p1:WinningsAmount>
</d3p1:JackPot5Winner>
</d3p1:JackPot5Winners>
<d3p1:NrOfWinners>0</d3p1:NrOfWinners>
</Jackpot5Info>
<Progress>
<Stage>None</Stage>
<Step>0</Step>
<Steps>0</Steps>
<UTCTimestamp>0001-01-01T00:00:00</UTCTimestamp>
</Progress>
<Sequence>String</Sequence>
<ShouldStartAtUtc>0001-01-01T00:00:00</ShouldStartAtUtc>
<StartedAtUtc>0001-01-01T00:00:00</StartedAtUtc>
<Status>Pending</Status>
<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>
<UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
</Round>
<SuperWinInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win">
<d2p1:AllPrizesAwarded>false</d2p1:AllPrizesAwarded>
<d2p1:AvailableAmount>0</d2p1:AvailableAmount>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:Winner>
<d2p1:Amount>0</d2p1:Amount>
<d2p1:BetId>String</d2p1:BetId>
<d2p1:Bettor xmlns:d4p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d4p1:Id>String</d4p1:Id>
<d4p1:Val>String</d4p1: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:d4p1="http://schemas.datacontract.org/2004/07/Betting.Common">
<d4p1:Application>
<d4p1:IsSelfService>false</d4p1:IsSelfService>
<d4p1:Name>String</d4p1:Name>
<d4p1:Version>String</d4p1:Version>
</d4p1:Application>
<d4p1:Clerk xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:Clerk>
<d4p1:Device xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:Device>
<d4p1:IP>String</d4p1:IP>
<d4p1:Location xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:Location>
<d4p1:LocationGroup xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:LocationGroup>
<d4p1:Organization xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:Organization>
<d4p1:Region xmlns:d5p1="http://schemas.datacontract.org/2004/07/Starnet.Common">
<d5p1:Id>String</d5p1:Id>
<d5p1:Val>String</d5p1:Val>
</d4p1:Region>
</d2p1:Origin>
<d2p1:RoundId>String</d2p1:RoundId>
<d2p1:SlipId>String</d2p1:SlipId>
</d2p1:Winner>
</SuperWinInfo>
</Feed>