GET api/betting/horseracing/gridruleset?BetTypeId={BetTypeId}&SubBetTypeId={SubBetTypeId}&EventBetTypeId={EventBetTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| BetTypeId | integer |
None. |
|
| SubBetTypeId | integer |
None. |
|
| EventBetTypeId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfBO.Models.Betting.HorseRacingGridRuleSetModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | BO.Models.Betting.HorseRacingGridRuleSetModel |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": {
"legs": [
{
"name": "sample string 1",
"scratchings": [
1,
2
],
"runners": 2,
"desc": "sample string 3",
"eventID": 4
},
{
"name": "sample string 1",
"scratchings": [
1,
2
],
"runners": 2,
"desc": "sample string 3",
"eventID": 4
}
],
"autoAppendRows": true,
"allowMultipleEntries": true,
"isBoxed": true,
"isFloating": true,
"isSwinger": true,
"allowScratching": true,
"betType": 1,
"scratchings": [
1,
2
],
"runners": 7
},
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfHorseRacingGridRuleSetModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<Legs>
<BetCaptureGridRuleSetLegModel>
<Name>sample string 1</Name>
<Scratchings>
<int>1</int>
<int>2</int>
</Scratchings>
<Runners>2</Runners>
<Desc>sample string 3</Desc>
<EventID>4</EventID>
</BetCaptureGridRuleSetLegModel>
<BetCaptureGridRuleSetLegModel>
<Name>sample string 1</Name>
<Scratchings>
<int>1</int>
<int>2</int>
</Scratchings>
<Runners>2</Runners>
<Desc>sample string 3</Desc>
<EventID>4</EventID>
</BetCaptureGridRuleSetLegModel>
</Legs>
<AutoAppendRows>true</AutoAppendRows>
<AllowMultipleEntries>true</AllowMultipleEntries>
<IsBoxed>true</IsBoxed>
<IsFloating>true</IsFloating>
<IsSwinger>true</IsSwinger>
<AllowScratching>true</AllowScratching>
<BetType>Lotto</BetType>
<Scratchings>
<int>1</int>
<int>2</int>
</Scratchings>
<Runners>7</Runners>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfHorseRacingGridRuleSetModel>