Suggested Live Odds are constantly updated and sent out according to the match happenings. These odds are generated based on statistical models. The format of the XML for odds is the same as the XML in the Live Odds feed. Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <OddsSuggestions matchid="944423">
<Odds bookId="12" changenumber="1" description="Who wins the rest of the match?" guthMatchId="944423" manualActive="1" matchId
="944423" specialOddsValue="0:0" subtype="4" type="19" validDate="1244794244648">
<OddsField description="Home" side="home">2.5</OddsField>
<OddsField description="Draw" side="draw">2.9</OddsField>
<OddsField description="Away" side="away">2.85</OddsField>
</Odds>
<Odds bookId="12" changenumber="1" description="Next Goal" guthMatchId="944423" manualActive="1" matchId="944423"
specialOddsValue="0:0" subtype="13" type="19" validDate="1244794244750">
<OddsField description="Home" side="home">2.2</OddsField>
<OddsField description="None" side="draw">4.5</OddsField>
<OddsField description="Away" side="away">2.35</OddsField>
</Odds>
<Odds bookId="12" changenumber="1" description="Over / Under +1.5" guthMatchId="944423" manualActive="1" matchId="944423"
specialOddsValue="1.5" type="4" validDate="1244794244850">
<OddsField description="Over 1.5" side="betover">1.75</OddsField>
<OddsField description="Under 1.5" side="betunder">1.9</OddsField>
</Odds>
</OddsSuggestions> |
XML attributes definition Element | Attributes |
---|
| Attribute | Description | Possible values | OddsSuggestions | matchid | The id of the match the odds suggestions are sent out for. | Integer | Odds | bookId |
| Integer | changenumber |
| Integer | description | A textual representation of the market. | String | guthMatchId | The id of the match the odds suggestions are sent out for. | Integer | manualActive |
| Integer | matchId | The id of the match the odds suggestions are sent out for. | Integer | specialoddsvalue | This indicates the total value, handicap value or freetext details. Used for the following odds types: total, handicap and freetext3way/ 2way/nway | String | type | This is a numeric id for the market type, and will be the same for that market type in all matches. | Integer | subtype |
| Integer | validDate |
| Unix timestamp | OddsField |
|
|
| description | Textual representation of the type of the oddsfield. | String | side |
| String |
|