POST BetGames/SubmitBet
Submits Bet Games bet.
Request Information
URI Parameters
None.
Body Parameters
ApiBetGamesSubmitBetRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| betCriteria |
Gets or sets the bet criteria. |
ApiBetGamesBetCriteria |
None. |
Request Formats
application/json, text/json
Sample:
{
"betCriteria": {
"JwtToken": "sample string 1",
"ClientId": 2,
"ClientPin": 3,
"ClientIpAddress": "sample string 4",
"BetGamesBets": {
"BranchId": 1,
"UserId": 2,
"ClientId": 3,
"Stake": 4.0,
"TotalOdds": 5.0,
"Payout": 6.0,
"NumberOfLegs": 7,
"CompanyId": 8,
"LoyaltyId": 9,
"AccountPin": "sample string 10",
"TakeBack": true,
"TerminalName": "sample string 12",
"TaxRate": 13.0,
"Repeat": 14,
"BetLegs": [
{
"DrawId": 1,
"BetTypeId": 2,
"LegNumber": 3,
"Odd": 4.0,
"Stake": 5.0,
"Pay": 6.0,
"GameItemIds": [
1,
2
]
},
{
"DrawId": 1,
"BetTypeId": 2,
"LegNumber": 3,
"Odd": 4.0,
"Stake": 5.0,
"Pay": 6.0,
"GameItemIds": [
1,
2
]
}
]
}
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiBetGamesSubmitBetResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
ApiBetGamesSubmitBet |
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": {
"Errors": [
{
"ErrorCode": 1,
"ErrorDetail": "sample string 2"
},
{
"ErrorCode": 1,
"ErrorDetail": "sample string 2"
}
],
"Bets": [
{
"BetID": 1,
"TicketNumber": 1,
"BetDateTime": "2025-12-06T06:55:17.2204027+02:00"
},
{
"BetID": 1,
"TicketNumber": 1,
"BetDateTime": "2025-12-06T06:55:17.2204027+02:00"
}
]
},
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiBetGamesSubmitBetResponse 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>
<Bets>
<ApiSubmitBetGamesBetBetList>
<BetDateTime>2025-12-06T06:55:17.2204027+02:00</BetDateTime>
<BetID>1</BetID>
<TicketNumber>1</TicketNumber>
</ApiSubmitBetGamesBetBetList>
<ApiSubmitBetGamesBetBetList>
<BetDateTime>2025-12-06T06:55:17.2204027+02:00</BetDateTime>
<BetID>1</BetID>
<TicketNumber>1</TicketNumber>
</ApiSubmitBetGamesBetBetList>
</Bets>
<Errors>
<ApiBetGamesSubmitBetError>
<ErrorCode>1</ErrorCode>
<ErrorDetail>sample string 2</ErrorDetail>
</ApiBetGamesSubmitBetError>
<ApiBetGamesSubmitBetError>
<ErrorCode>1</ErrorCode>
<ErrorDetail>sample string 2</ErrorDetail>
</ApiBetGamesSubmitBetError>
</Errors>
</ResponseObject>
</ApiBetGamesSubmitBetResponse>