POST Tennis/Bestbets

Request Information

URI Parameters

None.

Body Parameters

Paraminfo
NameDescriptionTypeAdditional information
leagueid

integer

None.

eventcode

integer

None.

marketid

integer

None.

lang

string

None.

bets

integer

None.

replacebet

boolean

None.

eventbet

boolean

None.

exclude_matches

string

None.

markettypekey

string

None.

ismarkettypeKey

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "leagueid": 1,
  "eventcode": 2,
  "marketid": 3,
  "lang": "sample string 4",
  "bets": 5,
  "replacebet": true,
  "eventbet": true,
  "exclude_matches": "sample string 8",
  "markettypekey": "sample string 9",
  "ismarkettypeKey": true
}

application/xml, text/xml

Sample:
<Paraminfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bettorlogic.Gaming1.Models.Models">
  <bets>5</bets>
  <eventbet>true</eventbet>
  <eventcode>2</eventcode>
  <exclude_matches>sample string 8</exclude_matches>
  <ismarkettypeKey>true</ismarkettypeKey>
  <lang>sample string 4</lang>
  <leagueid>1</leagueid>
  <marketid>3</marketid>
  <markettypekey>sample string 9</markettypekey>
  <replacebet>true</replacebet>
</Paraminfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Paraminfo'.

Response Information

Resource Description

TennisDailyBet
NameDescriptionTypeAdditional information
Bestbets

Collection of TennisBestBets

None.

Response Formats

application/json, text/json

Sample:
{
  "Bestbets": [
    {
      "awayTeam": "sample string 1",
      "awayTeamId": 2,
      "eventId": 3,
      "homeTeam": "sample string 4",
      "homeTeamId": 5,
      "tournamentId": 7,
      "tournamnetName": "sample string 8",
      "blMarketId": 9,
      "marketName": "sample string 10",
      "marketId": 11,
      "outcomeId": 12,
      "match": "sample string 13",
      "blRank": 15,
      "outcomeName": "sample string 16",
      "sportId": 17,
      "sportName": "sample string 18",
      "submarketName": "sample string 19",
      "text": "sample string 20",
      "decimalOdds": 21.0,
      "kickOffTime": "sample string 22",
      "setNumber": 23
    },
    {
      "awayTeam": "sample string 1",
      "awayTeamId": 2,
      "eventId": 3,
      "homeTeam": "sample string 4",
      "homeTeamId": 5,
      "tournamentId": 7,
      "tournamnetName": "sample string 8",
      "blMarketId": 9,
      "marketName": "sample string 10",
      "marketId": 11,
      "outcomeId": 12,
      "match": "sample string 13",
      "blRank": 15,
      "outcomeName": "sample string 16",
      "sportId": 17,
      "sportName": "sample string 18",
      "submarketName": "sample string 19",
      "text": "sample string 20",
      "decimalOdds": 21.0,
      "kickOffTime": "sample string 22",
      "setNumber": 23
    }
  ]
}

application/xml, text/xml

Sample:
<TennisDailyBet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bettorlogic.Gaming1.Models.Models.Tennis">
  <Bestbets>
    <TennisBestBets>
      <awayTeam>sample string 1</awayTeam>
      <awayTeamId>2</awayTeamId>
      <blMarketId>9</blMarketId>
      <blRank>15</blRank>
      <decimalOdds>21</decimalOdds>
      <eventId>3</eventId>
      <homeTeam>sample string 4</homeTeam>
      <homeTeamId>5</homeTeamId>
      <kickOffTime>sample string 22</kickOffTime>
      <marketId>11</marketId>
      <marketName>sample string 10</marketName>
      <match>sample string 13</match>
      <outcomeId>12</outcomeId>
      <outcomeName>sample string 16</outcomeName>
      <setNumber>23</setNumber>
      <sportId>17</sportId>
      <sportName>sample string 18</sportName>
      <submarketName>sample string 19</submarketName>
      <text>sample string 20</text>
      <tournamentId>7</tournamentId>
      <tournamnetName>sample string 8</tournamnetName>
    </TennisBestBets>
    <TennisBestBets>
      <awayTeam>sample string 1</awayTeam>
      <awayTeamId>2</awayTeamId>
      <blMarketId>9</blMarketId>
      <blRank>15</blRank>
      <decimalOdds>21</decimalOdds>
      <eventId>3</eventId>
      <homeTeam>sample string 4</homeTeam>
      <homeTeamId>5</homeTeamId>
      <kickOffTime>sample string 22</kickOffTime>
      <marketId>11</marketId>
      <marketName>sample string 10</marketName>
      <match>sample string 13</match>
      <outcomeId>12</outcomeId>
      <outcomeName>sample string 16</outcomeName>
      <setNumber>23</setNumber>
      <sportId>17</sportId>
      <sportName>sample string 18</sportName>
      <submarketName>sample string 19</submarketName>
      <text>sample string 20</text>
      <tournamentId>7</tournamentId>
      <tournamnetName>sample string 8</tournamnetName>
    </TennisBestBets>
  </Bestbets>
</TennisDailyBet>