GET api/tournaments?sportId={sportId}&countryId={countryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TournamentNameContains | string |
None. |
|
| IncludeNextEvent | boolean |
None. |
|
| isOutRights | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| EventStatusIDs | Collection of integer |
None. |
|
| IsInPlay | boolean |
None. |
|
| sportId | integer |
Required |
|
| countryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.Models.Tournament.TournamentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.Models.Tournament.TournamentModel |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T11:59:59.4830666+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T11:59:59.4830666+02:00"
},
"outrightsCount": 1,
"isOutrights": true
},
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T11:59:59.4830666+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T11:59:59.4830666+02:00"
},
"outrightsCount": 1,
"isOutrights": true
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfTournamentModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T11:59:59.4830666+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T11:59:59.4830666+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T11:59:59.4830666+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T11:59:59.4830666+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfTournamentModel>