> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/ufc-5.0/ufc-5.0-latam-spanish/modulos-de-centro-de-eventos-ufc/centro-de-eventos-de-pelea.md).

# Centro de Eventos de Pelea

A continuación se proporcionan pasos sobre cómo implementar un Centro de eventos para una pelea específica, con o sin navegación.

* Agregue su nombre único de ID de operador.
* Establezca targetModule: "iframe".
* Ingrese la ID del evento. Tenga en cuenta que debe usar la ID única para la cartelera; por ejemplo, para UFC FIGHT NIGHT la ID del evento es "707".
* Encuentre la ID de pelea única a la que le gustaría navegar cuando el Centro de Eventos se cargue inicialmente. En este ejemplo, la ID de la pelea es "6667".
* Agregue el contexto inicial, que consiste solo en "fightId".
  * El campo ‘view’ debe ser: "Fight" para permitir la navegación a la cartelera completa.
  * "fightId" corresponde a una pelea determinada.

```javascript
initialContext: {
          view: "Fight",
          fightId: "fightID"
        }
```

{% embed url="<https://codesandbox.io/s/muddy-firefly-jpjdui>" %}

Código de muestra:

```javascript
const { MessageTopics } = frontRowSeat.eventCentreUtils;
const eventCentreInstance = frontRowSeat.eventCentre({
        operator: "operatorIDName",
        sport: "ufc",
        targetModule: "full",
        eventId: "eventID",
        version: "version number",
        targetElementSelector: "#img-arena-event-centre",
        language: "en",
        initialContext: {
          view: "Fight",
          fightId: "fightID"
        }
      });
```

Tenga en cuenta que, si no desea permitir la navegación y quiere limitar la vista solo para una pelea en particular, puede hacerlo pasando "targetModule:" como "fight".

{% embed url="<https://codesandbox.io/s/silly-microservice-zejkxw>" %}

Tenga en cuenta que no hay un botón Volver en el Centro de Eventos anterior.

Código de muestra:

```javascript
const { MessageTopics } = frontRowSeat.eventCentreUtils;
const eventCentreInstance = frontRowSeat.eventCentre({
        operator: "operatorIDName",
        sport: "ufc",
        targetModule: "fight",
        eventId: "681",
        version: "dev/beac4ea5",
        targetElementSelector: "#img-arena-event-centre",
        language: "en",
        initialContext: {
          view: "Fight",
          fightId: "6667"
        }
      });
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sportradar.com/ufc-5.0/ufc-5.0-latam-spanish/modulos-de-centro-de-eventos-ufc/centro-de-eventos-de-pelea.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
