POST Event/GetLotteryGridRuleSet
Gets the detailed rule set for lotto selections based on market
Request Information
URI Parameters
None.
Body Parameters
ApiLotteryEventRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| eventID |
Gets or sets the eventId |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventID": 1,
"userID": 2
}
application/xml, text/xml
Sample:
<ApiLotteryEventRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>2</userID> <eventID>1</eventID> </ApiLotteryEventRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiLotteryGridSetResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
ApiLotteryGridRuleSet |
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": {
"BallsToSelect": [
{
"EventBetTypeDetailMapID": 1,
"TotalBallsToPick": 1,
"Sets": [
1,
2
]
},
{
"EventBetTypeDetailMapID": 1,
"TotalBallsToPick": 1,
"Sets": [
1,
2
]
}
],
"BallSetRanges": {
"Range": {
"Start": 1,
"End": 2
},
"ExtraRange": {
"Start": 1,
"End": 2
},
"SharingBalls": true,
"ExtraBallsDrawn": 1
}
},
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiLotteryGridSetResponse 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>
<BallSetRanges>
<ExtraBallsDrawn>1</ExtraBallsDrawn>
<ExtraRange>
<End>2</End>
<Start>1</Start>
</ExtraRange>
<Range>
<End>2</End>
<Start>1</Start>
</Range>
<SharingBalls>true</SharingBalls>
</BallSetRanges>
<BallsToSelect>
<ApiBallsToPickSet>
<EventBetTypeDetailMapID>1</EventBetTypeDetailMapID>
<Sets xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</Sets>
<TotalBallsToPick>1</TotalBallsToPick>
</ApiBallsToPickSet>
<ApiBallsToPickSet>
<EventBetTypeDetailMapID>1</EventBetTypeDetailMapID>
<Sets xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:int>1</d5p1:int>
<d5p1:int>2</d5p1:int>
</Sets>
<TotalBallsToPick>1</TotalBallsToPick>
</ApiBallsToPickSet>
</BallsToSelect>
</ResponseObject>
</ApiLotteryGridSetResponse>