POST BetGenius/GetBetGeniusTournament
Gets a list of Tournaments available for that specific sport
Request Information
URI Parameters
None.
Body Parameters
ApiBetGeniusSportRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| sportID |
Gets or sets sportID. |
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:
<ApiBetGeniusSportRequestFilter 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> </ApiBetGeniusSportRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiBetGeniusTournamentReponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiBetGeniusTournament |
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,
"FK_SportID": 2,
"RegionID": 1,
"TournamentName": "sample string 3"
},
{
"TournamentID": 1,
"FK_SportID": 2,
"RegionID": 1,
"TournamentName": "sample string 3"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiBetGeniusTournamentReponse 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>
<ApiBetGeniusTournament>
<FK_SportID>2</FK_SportID>
<RegionID>1</RegionID>
<TournamentID>1</TournamentID>
<TournamentName>sample string 3</TournamentName>
</ApiBetGeniusTournament>
<ApiBetGeniusTournament>
<FK_SportID>2</FK_SportID>
<RegionID>1</RegionID>
<TournamentID>1</TournamentID>
<TournamentName>sample string 3</TournamentName>
</ApiBetGeniusTournament>
</ResponseObject>
</ApiBetGeniusTournamentReponse>