POST Event/GetWebApiTournamentEventsAndResultsBySportID
Gets a list of Tournaments by evennts for each sport
Request Information
URI Parameters
None.
Body Parameters
ApiTournamentEventAndResultsFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| sportID |
Gets or sets the sport identifier. |
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:
<ApiTournamentEventAndResultsFilter 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> </ApiTournamentEventAndResultsFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiGetTournamentEventsAndResultResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiGetWebApiTournamentEventsAndResults |
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": [
{
"TournamentID": 1,
"SportID": 2,
"TournamentName": "sample string 3",
"CountryID": 4,
"TournamentDate": "2025-12-06T06:56:46.4122276+02:00",
"EventID": 5,
"EventDetail": "sample string 6",
"EventDateTime": "2025-12-06T06:56:46.4122276+02:00",
"FinishingPosition": "sample string 7",
"EventStatusID": 1,
"EventStatus": "sample string 8"
},
{
"TournamentID": 1,
"SportID": 2,
"TournamentName": "sample string 3",
"CountryID": 4,
"TournamentDate": "2025-12-06T06:56:46.4122276+02:00",
"EventID": 5,
"EventDetail": "sample string 6",
"EventDateTime": "2025-12-06T06:56:46.4122276+02:00",
"FinishingPosition": "sample string 7",
"EventStatusID": 1,
"EventStatus": "sample string 8"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiGetTournamentEventsAndResultResponse 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>
<ApiGetWebApiTournamentEventsAndResults>
<CountryID>4</CountryID>
<EventDateTime>2025-12-06T06:56:46.4122276+02:00</EventDateTime>
<EventDetail>sample string 6</EventDetail>
<EventID>5</EventID>
<EventStatus>sample string 8</EventStatus>
<EventStatusID>1</EventStatusID>
<FinishingPosition>sample string 7</FinishingPosition>
<SportID>2</SportID>
<TournamentDate>2025-12-06T06:56:46.4122276+02:00</TournamentDate>
<TournamentID>1</TournamentID>
<TournamentName>sample string 3</TournamentName>
</ApiGetWebApiTournamentEventsAndResults>
<ApiGetWebApiTournamentEventsAndResults>
<CountryID>4</CountryID>
<EventDateTime>2025-12-06T06:56:46.4122276+02:00</EventDateTime>
<EventDetail>sample string 6</EventDetail>
<EventID>5</EventID>
<EventStatus>sample string 8</EventStatus>
<EventStatusID>1</EventStatusID>
<FinishingPosition>sample string 7</FinishingPosition>
<SportID>2</SportID>
<TournamentDate>2025-12-06T06:56:46.4122276+02:00</TournamentDate>
<TournamentID>1</TournamentID>
<TournamentName>sample string 3</TournamentName>
</ApiGetWebApiTournamentEventsAndResults>
</ResponseObject>
</ApiGetTournamentEventsAndResultResponse>