Message Example
The following snippets illustrate a few different message examples you might encounter in the unified feed:
A soccer goal:
XML Code Example
<odds_change event_id="sr:match:13656221" product="1" timestamp="1525590430719">
<sport_event_status _match_status_name="1st half" away_score="1" home_score="0" match_status="6" reporting="1" status="1">
<clock match_time="3:27"/>
<period_scores>
<period_score away_score="1" home_score="0" match_status_code="6" number="1"/>
</period_scores>
<statistics>
<yellow_cards away="0" home="0"/>
<red_cards away="0" home="0"/>
<yellow_red_cards away="0" home="0"/>
<corners away="0" home="0"/>
</statistics>
</sport_event_status>
</odds_change>
Start of match (if Betradar has live coverage of the event):
XML Example
<odds_change event_id="sr:match:1234">
<sport_event_status status="0" reporting="1"/>
</odds_change> <--- scout has arrived pre-match (reporting=”1”)
<odds_change event_id="sr:match:12345">
<sport_event_status status="1" reporting="1”>
</odds_change>
Start of match (if Betradar does NOT have live coverage of the event):
Right before scheduled start time:
XML Example
<bet_stop event_id="sr:match:4711" group="all"/> <!-- <id>
match started, no live reporting -->
Rollback_bet_cancel when extending a temporary bet_cancel to a complete bet_cancel
Sometimes a bet_cancel is first sent out for a specified timeframe (i.e. from a start_time to an end_time), then later it is decided that the bet_cancel should be all bets not only for the specified timeframe.
In such cases, the system will send out a rollback_betcancel with the start and endtime specified, and a new bet_cancel with no start and end_time.
XML example
<bet_cancel event_id="sr:match:4711" start_time="1212000" end_time="1223000" timestamp="1234000"/>
Then some time later (Note the order of these two messages can be switched):
XML example
<bet_cancel event_id="sr:match:4711" timestamp="1236000"/>
<rollback_betcancel event_id="sr:match:4711" timestamp="1236000" start_time="1212000" end_time="1223000"/>
Last updated
Was this helpful?