POST Betting/GetSubBetType
Gets the sub bet types -- SubBetTypes: 1 Banker 2 Boxed 3 Floating Banker
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ApiSubBetTypeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiSubBetType |
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": [
{
"FK_BetTypeID": 1,
"SubBetTypeID": 2,
"SubBetTypeName": "sample string 3"
},
{
"FK_BetTypeID": 1,
"SubBetTypeID": 2,
"SubBetTypeName": "sample string 3"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiSubBetTypeResponse 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>
<ApiSubBetType>
<FK_BetTypeID>1</FK_BetTypeID>
<SubBetTypeID>2</SubBetTypeID>
<SubBetTypeName>sample string 3</SubBetTypeName>
</ApiSubBetType>
<ApiSubBetType>
<FK_BetTypeID>1</FK_BetTypeID>
<SubBetTypeID>2</SubBetTypeID>
<SubBetTypeName>sample string 3</SubBetTypeName>
</ApiSubBetType>
</ResponseObject>
</ApiSubBetTypeResponse>