# Match Booking

Match booking can be done using the web interface on [www.betradar.com](http://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**

```xml
<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

```xml
<bookmatch matchid="944423" result="valid" message="OK" />
```

***XML attributes definition***

| Element                  | Attributes | Description                                                         | Possible values                                                                                        |
| ------------------------ | ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| <p>bookmatch<br><br></p> | *matchid*  | The id of the match which the client wants to book.                 | Integer                                                                                                |
|                          | *result*   | Whether the match was booked successfully or not.                   | <p>String. Possible values:<br>valid = match booked successfully<br>invalid = match booking failed</p> |
|                          | *message*  | Textual representation of additional information about the booking. | String                                                                                                 |

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/live-data/introduction/system-communication/xml-messages-sent-from-the-client-system/match-booking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
