POST Event/GetWebApiTournamentsFilteredBySportId
Gets the tournaments for a country and sport including next eventk
Request Information
URI Parameters
None.
Body Parameters
ApiTournamentSportRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| sportID |
Gets or sets the sportID. |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"sportID": 1,
"userID": 2
}
application/xml, text/xml
Sample:
<ApiTournamentSportRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>2</userID> <sportID>1</sportID> </ApiTournamentSportRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiTournamentFilteredSportIDResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiTournamentFilteredSport |
None. |
| ResponseType |
Gets or sets the type of the response. |
integer |
None. |
| ResponseMessage |
Gets or sets the response message. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseObject": [
{
"a": 1,
"b": "sample string 2",
"c": "2025-12-06T06:56:46.5373104+02:00",
"d": 1,
"e": "sample string 3",
"f": "sample string 4",
"g": "sample string 5",
"h": 1,
"i": "sample string 6",
"k": "2025-12-06T06:56:46.5373104+02:00"
},
{
"a": 1,
"b": "sample string 2",
"c": "2025-12-06T06:56:46.5373104+02:00",
"d": 1,
"e": "sample string 3",
"f": "sample string 4",
"g": "sample string 5",
"h": 1,
"i": "sample string 6",
"k": "2025-12-06T06:56:46.5373104+02:00"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiTournamentFilteredSportIDResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
<ResponseMessage>sample string 2</ResponseMessage>
<ResponseType>1</ResponseType>
<ResponseObject>
<ApiTournamentFilteredSport>
<a>1</a>
<b>sample string 2</b>
<c>2025-12-06T06:56:46.5373104+02:00</c>
<d>1</d>
<e>sample string 3</e>
<f>sample string 4</f>
<g>sample string 5</g>
<h>1</h>
<i>sample string 6</i>
<k>2025-12-06T06:56:46.5373104+02:00</k>
</ApiTournamentFilteredSport>
<ApiTournamentFilteredSport>
<a>1</a>
<b>sample string 2</b>
<c>2025-12-06T06:56:46.5373104+02:00</c>
<d>1</d>
<e>sample string 3</e>
<f>sample string 4</f>
<g>sample string 5</g>
<h>1</h>
<i>sample string 6</i>
<k>2025-12-06T06:56:46.5373104+02:00</k>
</ApiTournamentFilteredSport>
</ResponseObject>
</ApiTournamentFilteredSportIDResponse>