POST Event/GetBetTypeDetails
Gets all BetTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiGetBetTypeDetailsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiWebApiBetType |
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": [
{
"BetTypeID": 1,
"FK_BetTypeGroupID": 2,
"BetTypeName": "sample string 3",
"BetTypeShortName": "sample string 4",
"BetTypeActive": true,
"FK_BetTypeRuleID": 6,
"FK_SportID": 1,
"CategoryName": "sample string 7",
"BetTypeCategoryID": 1
},
{
"BetTypeID": 1,
"FK_BetTypeGroupID": 2,
"BetTypeName": "sample string 3",
"BetTypeShortName": "sample string 4",
"BetTypeActive": true,
"FK_BetTypeRuleID": 6,
"FK_SportID": 1,
"CategoryName": "sample string 7",
"BetTypeCategoryID": 1
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiGetBetTypeDetailsResponse 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>
<ApiWebApiBetType>
<BetTypeActive>true</BetTypeActive>
<BetTypeCategoryID>1</BetTypeCategoryID>
<BetTypeID>1</BetTypeID>
<BetTypeName>sample string 3</BetTypeName>
<BetTypeShortName>sample string 4</BetTypeShortName>
<CategoryName>sample string 7</CategoryName>
<FK_BetTypeGroupID>2</FK_BetTypeGroupID>
<FK_BetTypeRuleID>6</FK_BetTypeRuleID>
<FK_SportID>1</FK_SportID>
</ApiWebApiBetType>
<ApiWebApiBetType>
<BetTypeActive>true</BetTypeActive>
<BetTypeCategoryID>1</BetTypeCategoryID>
<BetTypeID>1</BetTypeID>
<BetTypeName>sample string 3</BetTypeName>
<BetTypeShortName>sample string 4</BetTypeShortName>
<CategoryName>sample string 7</CategoryName>
<FK_BetTypeGroupID>2</FK_BetTypeGroupID>
<FK_BetTypeRuleID>6</FK_BetTypeRuleID>
<FK_SportID>1</FK_SportID>
</ApiWebApiBetType>
</ResponseObject>
</ApiGetBetTypeDetailsResponse>