POST Event/GetBetCaptureGridRuleSet
Gets the rule sets for the selection capture grid.
Request Information
URI Parameters
None.
Body Parameters
ApiBetCaptureGridRuleSetRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| BetTypeId |
Gets or sets the bet type identifier. |
integer |
None. |
| EventBetTypeDetailMapId |
Gets or sets the event bet type detail map identifier. |
integer |
None. |
| EventBetTypeMapId |
Gets or sets the event bet type map identifier. |
integer |
None. |
| EventDetailId |
Gets or sets the event detail identifier. |
integer |
None. |
| SubBetTypeId |
Gets or sets the sub bet type identifier. |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BetTypeId": 1,
"EventBetTypeDetailMapId": 1,
"EventBetTypeMapId": 1,
"EventDetailId": 2,
"SubBetTypeId": 1,
"userID": 3
}
application/xml, text/xml
Sample:
<ApiBetCaptureGridRuleSetRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>3</userID> <BetTypeId>1</BetTypeId> <EventBetTypeDetailMapId>1</EventBetTypeDetailMapId> <EventBetTypeMapId>1</EventBetTypeMapId> <EventDetailId>2</EventDetailId> <SubBetTypeId>1</SubBetTypeId> </ApiBetCaptureGridRuleSetRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiBetCaptureGridRuleSetResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
ApiBetCaptureGridRuleSet |
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": {
"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,
"Range": {
"Start": 1,
"End": 2
},
"ExtraRange": {
"Start": 1,
"End": 2
},
"IsBoxed": true,
"IsFloating": true,
"IsSwinger": true,
"AllowScratching": true,
"BetType": 1,
"Scratchings": [
1,
2
],
"Runners": 7,
"FromMainSet": true,
"FromExtraSet": true,
"BallsToPick": 1
},
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiBetCaptureGridRuleSetResponse 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>
<AllowMultipleEntries>true</AllowMultipleEntries>
<AllowScratching>true</AllowScratching>
<AutoAppendRows>true</AutoAppendRows>
<BallsToPick>1</BallsToPick>
<BetType>Lotto</BetType>
<ExtraRange>
<End>2</End>
<Start>1</Start>
</ExtraRange>
<FromExtraSet>true</FromExtraSet>
<FromMainSet>true</FromMainSet>
<IsBoxed>true</IsBoxed>
<IsFloating>true</IsFloating>
<IsSwinger>true</IsSwinger>
<Legs>
<ApiBetCaptureGridRuleSetLeg>
<Desc>sample string 3</Desc>
<EventID>4</EventID>
<Name>sample string 1</Name>
<Runners>2</Runners>
<Scratchings xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</Scratchings>
</ApiBetCaptureGridRuleSetLeg>
<ApiBetCaptureGridRuleSetLeg>
<Desc>sample string 3</Desc>
<EventID>4</EventID>
<Name>sample string 1</Name>
<Runners>2</Runners>
<Scratchings xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</Scratchings>
</ApiBetCaptureGridRuleSetLeg>
</Legs>
<Range>
<End>2</End>
<Start>1</Start>
</Range>
<Runners>7</Runners>
<Scratchings xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</Scratchings>
</ResponseObject>
</ApiBetCaptureGridRuleSetResponse>