# All Seasons Endpoint

#### **About the Endpoint** <a href="#uofapiallseasonsendpoint-abouttheendpoint" id="uofapiallseasonsendpoint-abouttheendpoint"></a>

**Endpoint PATH**

```
/sport/{language}/tournaments/sr:{urn_type}:{id}/seasons.xml
```

**Endpoint Description**

This endpoint returns a list of all available seasons for a tournament.

**Endpoint Parameters**

| Parameter                                                 | Description                        | Possible Values                                                                                                                  |
| --------------------------------------------------------- | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| <p><em>language</em></p><p><strong>Required</strong></p>  | Language code for translation.     | See all supported languages and their codes on [language support](https://docs.sportradar.com/uof/introduction/language-support) |
| <p><em>urn\_type</em></p><p><strong>Required</strong></p> | The type of event to look up.      | tournament / season                                                                                                              |
| <p><em>id</em></p><p><strong>Required</strong></p>        | The ID for the tournament / season | e.g. 40                                                                                                                          |

#### Endpoint Structure <a href="#uofapiallseasonsendpoint-endpointstructure" id="uofapiallseasonsendpoint-endpointstructure"></a>

{% hint style="success" %}
Change hint typeFor a full breakdown of each endpoint and its structure, refer to the [Element page](https://app.gitbook.com/o/ZO6TPSCtikUxdBddrKNy/s/1KlIQPveu0EGYCTI8DL1/~/changes/151/api-and-structure/api/elements)
{% endhint %}

* \<tournament\_seasons>
  * \<tournament>
    * \<sport>
    * \<category>
  * \<seasons>
    * \<season>

#### **XML Example** <a href="#uofapiallseasonsendpoint-xmlexample" id="uofapiallseasonsendpoint-xmlexample"></a>
