If the Betradar system should send out wrong information about bet clearing, a rollback message will be sent when the situation is discovered.
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="rollback" time="17" timestamp="1199436168440">
<Match active="1" betstatus="stopped" clearedscore="2:0" matchid="661373" matchtime="9" msgnr="45" status="1p">
<Odds active="1" combination="0" freetext="Next goal" id="1379" specialoddsvalue="1:0" subtype="13" type="ft3w" typeid="6">
<OddsField active="1" outcome="1" type="1"/>
<OddsField active="1" outcome="0" type="x"/>
<OddsField active="1" outcome="0" type="2"/>
</Odds>
</Match>
</BetradarLiveOdds>
XML attributes definition
Element | Attributes |
|
---|
| Attribute | Description | Possible values |
BetradarLiveOdds | status | What kind of information is contained in the message. | String "rollback" (in case of a rollback message) |
time | The amount of seconds which have passed since the betclearing. The time for the original bet clearing is timestamp - time (in seconds). | Integer |
Match | clearedscore | The cleared score of the original bet clearing. | String Format: "[homescore]:[awayscore]" |
Odds | id | Unique identifier which corresponds to the odds elements in the previously sent out odds change and betclear messages. This id explains what bet the rollback is for. | Integer |