POST BetGenius/GetBetGeniusEvents
Gets a list of Events available for that specific tournament
Request Information
URI Parameters
None.
Body Parameters
ApiBetGeniusTournamentRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| tournamentID |
Gets or sets tournamentID. |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"tournamentID": 1,
"userID": 2
}
application/xml, text/xml
Sample:
<ApiBetGeniusTournamentRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>2</userID> <tournamentID>1</tournamentID> </ApiBetGeniusTournamentRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiBetGeniusEventsReponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiBetGeniusEvents |
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": [
{
"EventID": 1,
"EventName": "sample string 2",
"EventDateTime": "sample string 3",
"FK_EventStatusID": 4,
"EventStatusName": "sample string 5"
},
{
"EventID": 1,
"EventName": "sample string 2",
"EventDateTime": "sample string 3",
"FK_EventStatusID": 4,
"EventStatusName": "sample string 5"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiBetGeniusEventsReponse 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>
<ApiBetGeniusEvents>
<EventDateTime>sample string 3</EventDateTime>
<EventID>1</EventID>
<EventName>sample string 2</EventName>
<EventStatusName>sample string 5</EventStatusName>
<FK_EventStatusID>4</FK_EventStatusID>
</ApiBetGeniusEvents>
<ApiBetGeniusEvents>
<EventDateTime>sample string 3</EventDateTime>
<EventID>1</EventID>
<EventName>sample string 2</EventName>
<EventStatusName>sample string 5</EventStatusName>
<FK_EventStatusID>4</FK_EventStatusID>
</ApiBetGeniusEvents>
</ResponseObject>
</ApiBetGeniusEventsReponse>