GET api/sports/{sportId}/countriesandtournaments?startDate={startDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sportId | integer |
Required |
|
| startDate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.Models.Sport.CountriesAndTournaments| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.Models.Sport.CountriesAndTournaments |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"country": {
"id": 1,
"name": "sample string 2",
"isoCode": "sample string 3"
},
"tournaments": [
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T12:00:14.7768609+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T12:00:14.7768609+02:00"
},
"outrightsCount": 1,
"isOutrights": true
},
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T12:00:14.7768609+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T12:00:14.7768609+02:00"
},
"outrightsCount": 1,
"isOutrights": true
}
]
},
{
"country": {
"id": 1,
"name": "sample string 2",
"isoCode": "sample string 3"
},
"tournaments": [
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T12:00:14.7768609+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T12:00:14.7768609+02:00"
},
"outrightsCount": 1,
"isOutrights": true
},
{
"id": 1,
"name": "sample string 2",
"date": "2025-12-15T12:00:14.7768609+02:00",
"sportId": 1,
"countryId": 3,
"nextEvent": {
"id": 1,
"name": "sample string 1",
"dateTime": "2025-12-15T12:00:14.7768609+02:00"
},
"outrightsCount": 1,
"isOutrights": true
}
]
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfCountriesAndTournaments xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<CountriesAndTournaments>
<Country>
<Id>1</Id>
<Name>sample string 2</Name>
<IsoCode>sample string 3</IsoCode>
</Country>
<Tournaments>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T12:00:14.7768609+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T12:00:14.7768609+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T12:00:14.7768609+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T12:00:14.7768609+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
</Tournaments>
</CountriesAndTournaments>
<CountriesAndTournaments>
<Country>
<Id>1</Id>
<Name>sample string 2</Name>
<IsoCode>sample string 3</IsoCode>
</Country>
<Tournaments>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T12:00:14.7768609+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T12:00:14.7768609+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
<TournamentModel>
<Id>1</Id>
<Name>sample string 2</Name>
<Date>2025-12-15T12:00:14.7768609+02:00</Date>
<SportId>1</SportId>
<CountryId>3</CountryId>
<NextEvent>
<Id>1</Id>
<Name>sample string 1</Name>
<DateTime>2025-12-15T12:00:14.7768609+02:00</DateTime>
</NextEvent>
<OutrightsCount>1</OutrightsCount>
<IsOutrights>true</IsOutrights>
</TournamentModel>
</Tournaments>
</CountriesAndTournaments>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfCountriesAndTournaments>