POST Event/GetTournamentFilteredInclNextEvent
Gets the tournaments for a country and sport including next eventk
Request Information
URI Parameters
None.
Body Parameters
ApiTournamentRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| pageNum |
Gets or sets the page number. |
integer |
None. |
| pageSize |
Gets or sets the size of the page. |
integer |
None. |
| sportID |
Gets or sets the sport identifier. |
integer |
None. |
| countryID |
Gets or sets the country identifier. |
integer |
None. |
| tournamentNameContains |
Gets or sets the tournament name filter. |
string |
None. |
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| eventStatusIDs |
Gets or sets the event status IDs. |
Collection of integer |
None. |
| isInPlay |
Gets or sets a value indicating whether this nullable instance is in play. |
boolean |
None. |
| isOutRights |
Gets or sets the nullable is in isOutRights. |
boolean |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"pageNum": 1,
"pageSize": 2,
"sportID": 3,
"countryID": 4,
"tournamentNameContains": "sample string 5",
"startDate": "2025-12-06T00:00:00+02:00",
"endDate": "2025-12-06T00:00:00+02:00",
"eventStatusIDs": [
1,
2
],
"isInPlay": true,
"isOutRights": true,
"userID": 7
}
application/xml, text/xml
Sample:
<ApiTournamentRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
<userID>7</userID>
<countryID>4</countryID>
<endDate>2025-12-06T00:00:00+02:00</endDate>
<eventStatusIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:short>1</d2p1:short>
<d2p1:short>2</d2p1:short>
</eventStatusIDs>
<isInPlay>true</isInPlay>
<isOutRights>true</isOutRights>
<pageNum>1</pageNum>
<pageSize>2</pageSize>
<sportID>3</sportID>
<startDate>2025-12-06T00:00:00+02:00</startDate>
<tournamentNameContains>sample string 5</tournamentNameContains>
</ApiTournamentRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiTournamentInclNextEventResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiTournamentInclNextEvent |
None. |
| TotalPages |
Gets or sets the total pages. |
integer |
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": 3,
"d": "2025-12-06T06:54:27.3078369+02:00",
"e": 4,
"f": "sample string 5",
"g": 1,
"h": 1,
"i": "sample string 6",
"k": "2025-12-06T06:54:27.3078369+02:00"
},
{
"a": 1,
"b": "sample string 2",
"c": 3,
"d": "2025-12-06T06:54:27.3078369+02:00",
"e": 4,
"f": "sample string 5",
"g": 1,
"h": 1,
"i": "sample string 6",
"k": "2025-12-06T06:54:27.3078369+02:00"
}
],
"TotalPages": 1,
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiTournamentInclNextEventResponse 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>
<ApiTournamentInclNextEvent>
<a>1</a>
<b>sample string 2</b>
<c>3</c>
<d>2025-12-06T06:54:27.3078369+02:00</d>
<e>4</e>
<f>sample string 5</f>
<g>1</g>
<h>1</h>
<i>sample string 6</i>
<k>2025-12-06T06:54:27.3078369+02:00</k>
</ApiTournamentInclNextEvent>
<ApiTournamentInclNextEvent>
<a>1</a>
<b>sample string 2</b>
<c>3</c>
<d>2025-12-06T06:54:27.3078369+02:00</d>
<e>4</e>
<f>sample string 5</f>
<g>1</g>
<h>1</h>
<i>sample string 6</i>
<k>2025-12-06T06:54:27.3078369+02:00</k>
</ApiTournamentInclNextEvent>
</ResponseObject>
<TotalPages>1</TotalPages>
</ApiTournamentInclNextEventResponse>