POST Event/GetEventsPerTournament

Gets the events using a tournament reference

Request Information

URI Parameters

None.

Body Parameters

ApiEventRequestFilter
NameDescriptionTypeAdditional information
pageNum

Gets or sets the page number.

integer

None.

pageSize

Gets or sets the size of the page.

integer

None.

tournamentID

Gets or sets the tournament identifier.

integer

None.

eventNameContains

Gets or sets the event 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 of is in play.

boolean

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pageNum": 1,
  "pageSize": 2,
  "tournamentID": 3,
  "eventNameContains": "sample string 4",
  "startDate": "2025-12-06T00:00:00+02:00",
  "endDate": "2025-12-06T00:00:00+02:00",
  "eventStatusIDs": [
    1,
    2
  ],
  "isInPlay": true,
  "userID": 6
}

application/xml, text/xml

Sample:
<ApiEventRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>6</userID>
  <endDate>2025-12-06T00:00:00+02:00</endDate>
  <eventNameContains>sample string 4</eventNameContains>
  <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>
  <pageNum>1</pageNum>
  <pageSize>2</pageSize>
  <startDate>2025-12-06T00:00:00+02:00</startDate>
  <tournamentID>3</tournamentID>
</ApiEventRequestFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiEventResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

Collection of ApiEvent

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": "2025-12-06T06:54:26.4077082+02:00",
      "b": 2,
      "c": "sample string 3",
      "d": 4,
      "e": 5
    },
    {
      "a": "2025-12-06T06:54:26.4077082+02:00",
      "b": 2,
      "c": "sample string 3",
      "d": 4,
      "e": 5
    }
  ],
  "TotalPages": 1,
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiEventResponse 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>
    <ApiEvent>
      <a>2025-12-06T06:54:26.4077082+02:00</a>
      <b>2</b>
      <c>sample string 3</c>
      <d>4</d>
      <e>5</e>
    </ApiEvent>
    <ApiEvent>
      <a>2025-12-06T06:54:26.4077082+02:00</a>
      <b>2</b>
      <c>sample string 3</c>
      <d>4</d>
      <e>5</e>
    </ApiEvent>
  </ResponseObject>
  <TotalPages>1</TotalPages>
</ApiEventResponse>