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 |
---|
language | xml |
---|
title | XML example |
---|
| <BookmakerStatus type="current" timestamp="1366768196211" bookmakerid="1246">
<Match matchid="2748484" active="1" />
</BookmakerStatus> |
Error Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BookmakerStatus type="error" timestamp="1366775652085" bookmakerid="1246">
<Match matchid="2748484" active="1" />
</BookmakerStatus> |
Code Block |
---|
language | xml |
---|
title | XML 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: - Start test scenario, either a test match replay or single match replay;
- Wait for the first alive message containing the matchid;
- Request meta for the given matchid or timeframe.
Get translation Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BookmakerStatus type="gettranslation" bookmakerid="1246" languages="en,de"/> |
Score and card summary Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BookmakerStatus type="scoreandcardsummary" timestamp="0" bookmakerid="1246" >
<Match matchid="2748484" active="1" />
</BookmakerStatus> |
Register and unregistered Code Block |
---|
language | xml |
---|
title | XML example |
---|
| <BookmakerStatus timestamp="1193658786746" type="register" bookmakerid="24">
<Match matchid="661373" active="1" />
</BookmakerStatus> |
|