POST Betting/CalculateCombinations
Calculates the combinations.
Request Information
URI Parameters
None.
Body Parameters
ApiCombinationsRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| betTypeGroupId |
Gets or sets the bet type group identifier. |
integer |
None. |
| subBetTypeId |
Gets or sets the nullable sub bet type identifier. |
integer |
None. |
| betTypeRuleId |
Gets or sets the bet type rule identifier. |
integer |
None. |
| legs |
Gets or sets the legs. |
byte |
None. |
| openExoticSelections |
Gets or sets the open exotic selections. |
Collection of Collection of byte |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"betTypeGroupId": 1,
"subBetTypeId": 1,
"betTypeRuleId": 2,
"legs": 64,
"openExoticSelections": [
[
64,
64
],
[
64,
64
]
],
"userID": 4
}
application/xml, text/xml
Sample:
<ApiCombinationsRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
<userID>4</userID>
<betTypeGroupId>1</betTypeGroupId>
<betTypeRuleId>2</betTypeRuleId>
<legs>64</legs>
<openExoticSelections xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:ArrayOfunsignedByte>
<d2p1:unsignedByte>64</d2p1:unsignedByte>
<d2p1:unsignedByte>64</d2p1:unsignedByte>
</d2p1:ArrayOfunsignedByte>
<d2p1:ArrayOfunsignedByte>
<d2p1:unsignedByte>64</d2p1:unsignedByte>
<d2p1:unsignedByte>64</d2p1:unsignedByte>
</d2p1:ArrayOfunsignedByte>
</openExoticSelections>
<subBetTypeId>1</subBetTypeId>
</ApiCombinationsRequestFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiCombinationsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
integer |
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": 1,
"ResponseType": 2,
"ResponseMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiCombinationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <ResponseMessage>sample string 3</ResponseMessage> <ResponseType>2</ResponseType> <ResponseObject>1</ResponseObject> </ApiCombinationsResponse>