Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
topOfPage
topOfPage
Excerpt Include
HideElements
HideElements
nopaneltrue

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

If the Betradar system should send out wrong information about bet clearing, a rollback message will be sent when the situation is discovered.

Code Block
<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

ElementAttributes

AttributeDescriptionPossible values
BetradarLiveOddsstatus

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
Matchclearedscore

The cleared score of the original bet clearing.

String
Format: "[homescore]:[awayscore]"

Oddsid

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
Info

Note
The Odds element includes OddsField elements to indicate which fields were cleared in the original bet clearing. The Client system is responsible for handling this accordingly.