Betradar - the betting arm of Sportradar

Page tree

Versions Compared

Key

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

Excerpt Include
HideElements
HideElements
nopaneltrue
Anchor
topOfPage
topOfPage

Excerpt Include
BetradarLogo
BetradarLogo
nopaneltrue

Panel

Once a match is running the following actions are available by calling them the same way as on the production environment.

Those actions behave the same way as on production, so additional parameters may be used. Please see the corresponding chapters in the Live Odds documentation for more information.

Current

Code Block
languagexml
titleXML example
<BookmakerStatus type="current" timestamp="1366768196211" bookmakerid="1246">
<Match matchid="2748484" active="1" />
</BookmakerStatus>

Error

Code Block
languagexml
titleXML example
<BookmakerStatus type="error" timestamp="1366775652085" bookmakerid="1246">
<Match matchid="2748484" active="1" />
</BookmakerStatus>

Meta

Code Block
languagexml
titleXML example
<BookmakerStatus type="meta" bookmakerid="1246"/>

Since test match replay and single match replay gets initiated by the client system, the replay server does not know when the next test match replay or single match replay is happening. Therefore, sending out a meta request using a timeframe will result in an empty response, unless automatic match replay is enabled, or one or more test match replay/single match replays are already running. To successfully test meta requests using test match replay or single match replay, follow the steps below:

  1. Start test scenario, either a test match replay or single match replay;
  2. Wait for the first alive message containing the matchid;
  3. Request meta for the given matchid or timeframe.

Get translation

Code Block
languagexml
titleXML example
<BookmakerStatus type="gettranslation" bookmakerid="1246" languages="en,de"/>

Score and card summary

Code Block
languagexml
titleXML example
<BookmakerStatus type="scoreandcardsummary" timestamp="0" bookmakerid="1246" >
<Match matchid="2748484" active="1" />
</BookmakerStatus>

Register and unregistered

Code Block
languagexml
titleXML example
<BookmakerStatus timestamp="1193658786746" type="register" bookmakerid="24">
<Match matchid="661373" active="1" />
</BookmakerStatus>