Match booking can be done using the web interface on www.betradar.com > Live booking calendar, but it’s also possible to book matches over the XML feed. Note that booking matches will have a cost depending on the type of agreement you have with Sportradar. Each match booking message must contain 1 match id, i.e. it’s only possible to book 1 match per message.
XML example
<bookmatch matchid="944423"/>XML attributes definition
| Element | Attributes | Description | Possible values |
|---|---|---|---|
| bookmatch | matchid | The id of the match which the client wants to book. | Integer |
Match booking reply
Reply sent when client books a match. If the match booking failed for some reason (match already bought, match finished etc.), the message will contain an explanation.
XML example
<bookmatch matchid="944423" result="valid" message="OK" />XML attributes definition
| Element | Attributes | Description | Possible values |
|---|---|---|---|
bookmatch | matchid | The id of the match which the client wants to book. | Integer |
| result | Whether the match was booked successfully or not. | String. Possible values: | |
| message | Textual representation of additional information about the booking. | String |