POST api/syxbetgames/betting/{punterId}/submit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
punterId

integer

Required

Body Parameters

BO.BETRequestObjects.SyxBetGames.BetSubmitCriteria
NameDescriptionTypeAdditional information
JwtToken

string

None.

PunterId

integer

None.

BetGamesBets

BO.BETRequestObjects.SyxBetGames.BetCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "jwtToken": "sample string 1",
  "punterId": 2,
  "betGamesBets": {
    "companyId": 1,
    "branchId": 2,
    "stake": 3.0,
    "totalOdds": 4.0,
    "payout": 5.0,
    "numberOfLegs": 6,
    "betLegs": [
      {
        "drawId": 1,
        "betTypeId": 2,
        "legNumber": 3,
        "odd": 4.0,
        "stake": 5.0,
        "payout": 6.0,
        "selectionIds": [
          1,
          2
        ]
      },
      {
        "drawId": 1,
        "betTypeId": 2,
        "legNumber": 3,
        "odd": 4.0,
        "stake": 5.0,
        "payout": 6.0,
        "selectionIds": [
          1,
          2
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BetSubmitCriteria xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <JwtToken>sample string 1</JwtToken>
  <PunterId>2</PunterId>
  <BetGamesBets>
    <CompanyId>1</CompanyId>
    <BranchId>2</BranchId>
    <Stake>3</Stake>
    <TotalOdds>4</TotalOdds>
    <Payout>5</Payout>
    <NumberOfLegs>6</NumberOfLegs>
    <BetLegs>
      <BetLeg>
        <DrawId>1</DrawId>
        <BetTypeId>2</BetTypeId>
        <LegNumber>3</LegNumber>
        <Odd>4</Odd>
        <Stake>5</Stake>
        <Payout>6</Payout>
        <SelectionIds>
          <int>1</int>
          <int>2</int>
        </SelectionIds>
      </BetLeg>
      <BetLeg>
        <DrawId>1</DrawId>
        <BetTypeId>2</BetTypeId>
        <LegNumber>3</LegNumber>
        <Odd>4</Odd>
        <Stake>5</Stake>
        <Payout>6</Payout>
        <SelectionIds>
          <int>1</int>
          <int>2</int>
        </SelectionIds>
      </BetLeg>
    </BetLegs>
  </BetGamesBets>
</BetSubmitCriteria>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO.BETResponseObjects.BaseResponseOfBO.MetaData.SyxBetGames.ApiBetGamesSubmitBet
NameDescriptionTypeAdditional information
ResponseObject

BO.MetaData.SyxBetGames.ApiBetGamesSubmitBet

None.

ResponseMessage

string

None.

ResponseType

BO.Enums.ResponseType

None.

Response Formats

application/json, text/json

Sample:
{
  "responseObject": {
    "bets": [
      {
        "betID": 1,
        "ticketNumber": 2,
        "betDateTime": "2025-12-14T18:04:32.7182079+02:00"
      },
      {
        "betID": 1,
        "ticketNumber": 2,
        "betDateTime": "2025-12-14T18:04:32.7182079+02:00"
      }
    ],
    "errors": [
      {
        "errorCode": 1,
        "errorDetail": "sample string 2"
      },
      {
        "errorCode": 1,
        "errorDetail": "sample string 2"
      }
    ]
  },
  "responseMessage": "sample string 1",
  "responseType": 1
}

application/xml, text/xml

Sample:
<BaseResponseOfApiBetGamesSubmitBet xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseObject>
    <Bets>
      <ApiSubmitBetGamesBetBetList>
        <BetID>1</BetID>
        <TicketNumber>2</TicketNumber>
        <BetDateTime>2025-12-14T18:04:32.7182079+02:00</BetDateTime>
      </ApiSubmitBetGamesBetBetList>
      <ApiSubmitBetGamesBetBetList>
        <BetID>1</BetID>
        <TicketNumber>2</TicketNumber>
        <BetDateTime>2025-12-14T18:04:32.7182079+02:00</BetDateTime>
      </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>
  <ResponseMessage>sample string 1</ResponseMessage>
  <ResponseType>Success</ResponseType>
</BaseResponseOfApiBetGamesSubmitBet>