> For the complete documentation index, see [llms.txt](https://docs.lsports.eu/u/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lsports.eu/u/trade/integration/message-structure/outright-livescore.md).

# Outright Livescore

This documentation describes the complete structure of an Outright Livescore Update message (Type 39) as delivered by TRADE.

{% tabs %}
{% tab title="JSON" %}

```json
{
  "Header": {
    "Type": 39,
    "MsgSeq": 1,
    "MsgGuid": "b05d25f0-801a-40f9-912a-32db3af6cb19",
    "CreationDate": "2024-07-08T02:55:57.0920000+00:00",
    "SerializedCreationDate": "2024-07-08T02:55:57.092Z",
    "ServerTimestamp": 1720407357092
  },
  "Body": {
    "Competition": {
      "Id": 10872,
      "Name": "Los Alamitos Qh",
      "Type": 1,
      "Events": [
        {
          "FixtureId": 22808966,
          "Livescore": null,
          "Markets": null,
          "OutrightScore": {
            "ParticipantResults": [
              {
                "ParticipantId": 53278158,
                "Name": "Miss Apollidash",
                "Result": 3
              },
              {
                "ParticipantId": 51578950,
                "Name": "Terra Fina",
                "Result": 1
              },
              {
                "ParticipantId": 53266837,
                "Name": "Mister Twosday",
                "Result": 2
              }
            ],
            "Status": 3
          }
        }
      ]
    }
  }
}
```

{% endtab %}
{% endtabs %}

## **Model**

### Competition

| Element | Data Type | Description                              |
| ------- | --------- | ---------------------------------------- |
| Id      | int       | The unique ID of the competition         |
| Name    | string    | The competition name                     |
| Type    | enum      | Type 3 is League, Type 4 is Season       |
| Events  | array     | Array of [Events](#outrightleague-model) |

#### **Events** <a href="#outrightleague-model" id="outrightleague-model"></a>

| **Element**   | **Data Type** | **Description**                                                  |
| ------------- | ------------- | ---------------------------------------------------------------- |
| FixtureId     | int           | The unique ID of the fixture.                                    |
| Livescore     | int           | [Livescore](/u/trade/integration/message-structure/livescore.md) |
| Markets       | int           | Markets                                                          |
| OutrightScore | object        | Contain the livescore per participant                            |

#### OutrightScore

| **Element**        | **Data Type** | **Description**                                                                          |
| ------------------ | ------------- | ---------------------------------------------------------------------------------------- |
| ParticipantResults | array         | An array of [ParticipantResults](#participantresults)                                    |
| Status             | enum          | The current [status ](/u/trade/enumerations/fixture-scoreboard-status.md)of the fixture. |

#### ParticipantResults

| **Element**   | **Data Type** | **Description**              |
| ------------- | ------------- | ---------------------------- |
| ParticipantId | int           | ID of the participant        |
| Name          | string        | Name of the participant      |
| Result        | int           | The score of the participant |


---

# 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 dynamically by asking a question.

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

```
GET https://docs.lsports.eu/u/trade/integration/message-structure/outright-livescore.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
