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.
<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>
<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
Element | Attributes |
---|
| Attribute | Description | Possible values |
Match | msgnr | 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 |