POST Event/GetWebApiTournamentSportAndCountry

Gets a list of Sport by Country by Tournament

Request Information

URI Parameters

None.

Body Parameters

ApiTournamentSportCountryFilter
NameDescriptionTypeAdditional information
eventstatusID

Gets or sets the sport identifier.

integer

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "eventstatusID": 1,
  "userID": 2
}

application/xml, text/xml

Sample:
<ApiTournamentSportCountryFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>2</userID>
  <eventstatusID>1</eventstatusID>
</ApiTournamentSportCountryFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiGetSportCountryTournamentResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

Collection of ApiGetWebApiTournamentSportAndCountry

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,
      "TournamentName": "sample string 2",
      "TournamentDate": "2025-12-06T06:54:24.8132506+02:00",
      "SportID": 3,
      "SportName": "sample string 4",
      "CountryID": 5,
      "CountryName": "sample string 6",
      "OutrightsCount": 1
    },
    {
      "TournamentID": 1,
      "TournamentName": "sample string 2",
      "TournamentDate": "2025-12-06T06:54:24.8132506+02:00",
      "SportID": 3,
      "SportName": "sample string 4",
      "CountryID": 5,
      "CountryName": "sample string 6",
      "OutrightsCount": 1
    }
  ],
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiGetSportCountryTournamentResponse 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>
    <ApiGetWebApiTournamentSportAndCountry>
      <CountryID>5</CountryID>
      <CountryName>sample string 6</CountryName>
      <OutrightsCount>1</OutrightsCount>
      <SportID>3</SportID>
      <SportName>sample string 4</SportName>
      <TournamentDate>2025-12-06T06:54:24.8132506+02:00</TournamentDate>
      <TournamentID>1</TournamentID>
      <TournamentName>sample string 2</TournamentName>
    </ApiGetWebApiTournamentSportAndCountry>
    <ApiGetWebApiTournamentSportAndCountry>
      <CountryID>5</CountryID>
      <CountryName>sample string 6</CountryName>
      <OutrightsCount>1</OutrightsCount>
      <SportID>3</SportID>
      <SportName>sample string 4</SportName>
      <TournamentDate>2025-12-06T06:54:24.8132506+02:00</TournamentDate>
      <TournamentID>1</TournamentID>
      <TournamentName>sample string 2</TournamentName>
    </ApiGetWebApiTournamentSportAndCountry>
  </ResponseObject>
</ApiGetSportCountryTournamentResponse>