POST Event/GetTournamentEventBetTypes
Gets the event bet types.
Request Information
URI Parameters
None.
Body Parameters
ApiTournamentEventBetTypeRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| tournamentID |
Gets or sets the tournamentID identifier. |
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:
<ApiTournamentEventBetTypeRequestFilter 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> </ApiTournamentEventBetTypeRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiTournamentBetTypeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiTournamentBetType |
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": "sample string 1",
"b": 1,
"c": 1.0,
"d": 1,
"e": "sample string 2",
"f": "sample string 3",
"g": 1,
"h": 1,
"i": 1,
"j": 1,
"k": 1,
"l": 1
},
{
"a": "sample string 1",
"b": 1,
"c": 1.0,
"d": 1,
"e": "sample string 2",
"f": "sample string 3",
"g": 1,
"h": 1,
"i": 1,
"j": 1,
"k": 1,
"l": 1
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiTournamentBetTypeResponse 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>
<ApiTournamentBetType>
<a>sample string 1</a>
<b>1</b>
<c>1</c>
<d>1</d>
<e>sample string 2</e>
<f>sample string 3</f>
<g>1</g>
<h>1</h>
<i>1</i>
<j>1</j>
<k>1</k>
<l>1</l>
</ApiTournamentBetType>
<ApiTournamentBetType>
<a>sample string 1</a>
<b>1</b>
<c>1</c>
<d>1</d>
<e>sample string 2</e>
<f>sample string 3</f>
<g>1</g>
<h>1</h>
<i>1</i>
<j>1</j>
<k>1</k>
<l>1</l>
</ApiTournamentBetType>
</ResponseObject>
</ApiTournamentBetTypeResponse>