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

To make sure that the client system has received all messages from the Betradar system, all messages sent out have an incremental id, as seen in the attribute msgnr. inside the match element.

Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstart" time="0" timestamp="1199435558847">
<Match active="1" betstatus="started" matchid="661373" msgnr="5" score="-:-" status="not_started"/>
</BetradarLiveOdds>
Code Block
languagexml
titleXML example
<BetradarLiveOdds xmlns="http://www.betradar.com/BetradarLiveOdds" status="betstop" time="0" timestamp="1199435635925">
<Match active="1" betstatus="stopped" matchid="661373" msgnr="6" score="-:-" status="not_started"/>
</BetradarLiveOdds>

XML attributes definition

ElementAttributes

AttributeDescriptionPossible values
Matchmsgnr

The incremental id for the message of the match. Only updated when the state of the match changes. Alive messages, meta-information and login response messages will not increment this number.

Number. Starts on 1 for each match, and increments on each change.

active

If this attribute has a value of 1 if it is in our Live Odds product (meaning we will be sending out live odds on this match). The attribute will have a value of 0 if it is not in our Live Odds product, meaning we will not send out live odds on this match. However, we might still send meta messages for this match.

Integer, possible values:
0
1