Click here to Skip to main content
15,907,913 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I will explain here this is the xml i'm having and you see the Betting Offer that is Home Draw Away and the Outcome like X,1,2 for one of my provider
XML
<BettingOffer typeId="43" scopeId="2" type="Home Draw Away" scope="Full time excluding overtime">
  <Odds id="11940061906901" outcome="X">3.20</Odds>
  <Odds id="11940061706901" outcome="1">2.14</Odds>
  <Odds id="11940061806901" outcome="2">3.00</Odds>
  </BettingOffer>

Another Provider supply XMl like this for same betting offer:
XML
<Event Name="Arsenal v Sunderland" ID="40103450" StartTime="18/08/12 15:00:00">
<Market Name="Full Time Result" ID="40" PlaceCount="1" PlaceOdds="1/1">

<Participant Name="Home Win" Odds="1/3" OddsDecimal="1.33" Handicap="" ID="290245295"/>

<Participant Name="Draw" Odds="4/1" OddsDecimal="5.00" Handicap="" ID="290245296" />
<Participant Name="Away Win" Odds="8/1" OddsDecimal="9.00" Handicap="" ID="290245297" />
</Market>
</Event>

Another Provider supply XMl like:
XML
<Event racetype="" tracktype="" handicap=" " class="0">
<Description>Sibir Novosibirsk v Rotor Volgograd</Description>
<Market mkt_typ="Win/Draw/Win" lp_avail="Y" sp_avail="N" mkt_id="9255156">
<Occurrence bet_id="52761388" lp_num="8" lp_den="15" decimal="1.5333333333333" >
<Description>Sibir Novosibirsk</Description>
</Occurrence>
<Occurrence bet_id="52761389" lp_num="13" lp_den="5" decimal="3.6" >
<Description>Draw</Description>
</Occurrence>
<Occurrence bet_id="52761390" lp_num="9" lp_den="2" decimal="5.5" >
<Description>Rotor Volgograd</Description>
</Occurrence>
</Market>
</Event>

Now you can visibly see that different provider supply different name for the Betting offer(ie Market ) and the outcome varies too for the provider. outcome like Rotor Volgograd,Sibir Novosibirsk, 1, X, 2,Home,draw,Away it is common to find that for player too. That's what i had explained earlier so someone please help me regarding this issue.
Posted
v2
Comments
deepgalley 16-Jul-12 3:43am    
if some one answer this question they ill be the expert in c#
Richard MacCutchan 16-Jul-12 5:00am    
What question? It is not clear what problem you are trying to solve.
deepgalley 17-Jul-12 2:20am    
hi Richard it is a problem of finding odds matrix go to www.oddschecker.com it ill make sense
deepgalley 17-Jul-12 3:06am    
http://www.oddschecker.com/football/internationals/world-cup/winner go to this website link and it shows you the provider with a market name winner that is Home draw away/Full Time Result and etc......
deepgalley 17-Jul-12 3:11am    
http://www.oddschecker.com/football/internationals/world-cup/winner go to this link it shows winner market ie:Win/Draw/Win--/Full Time Result--/Home Draw Away from different provider and it is listed for 22 different provider same like this i need to do for 50 providers

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900