POST BetGenius/SubmitBetGeniusBet

Submits the bet

Request Information

URI Parameters

None.

Body Parameters

ApiSubmitBetGeniusBetRequestFilter
NameDescriptionTypeAdditional information
betgeniusJSON

Gets or sets tournamentID.

string

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "betgeniusJSON": "sample string 1",
  "userID": 2
}

application/xml, text/xml

Sample:
<ApiSubmitBetGeniusBetRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>2</userID>
  <betgeniusJSON>sample string 1</betgeniusJSON>
</ApiSubmitBetGeniusBetRequestFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiSubmitBetGeniusBetReponse
NameDescriptionTypeAdditional information
ResponseType

Gets or sets the type of the response.

integer

None.

ResponseMessage

Gets or sets the response message.

string

None.

ResponseObject

Collection of ApiBetGeniusBets

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": [
    {
      "TicketNumber": 1,
      "MarketID": 1,
      "ContactInformation": "sample string 2"
    },
    {
      "TicketNumber": 1,
      "MarketID": 1,
      "ContactInformation": "sample string 2"
    }
  ],
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiSubmitBetGeniusBetReponse 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>
    <ApiBetGeniusBets>
      <ContactInformation>sample string 2</ContactInformation>
      <MarketID>1</MarketID>
      <TicketNumber>1</TicketNumber>
    </ApiBetGeniusBets>
    <ApiBetGeniusBets>
      <ContactInformation>sample string 2</ContactInformation>
      <MarketID>1</MarketID>
      <TicketNumber>1</TicketNumber>
    </ApiBetGeniusBets>
  </ResponseObject>
</ApiSubmitBetGeniusBetReponse>