POST Tennis/Livebets

Request Information

URI Parameters

None.

Body Parameters

LiveParaminfo
NameDescriptionTypeAdditional information
eventcode

integer

None.

lang

string

None.

Request Formats

application/json, text/json

Sample:
{
  "eventcode": 1,
  "lang": "sample string 2"
}

application/xml, text/xml

Sample:
<LiveParaminfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bettorlogic.Gaming1.Models.Models">
  <eventcode>1</eventcode>
  <lang>sample string 2</lang>
</LiveParaminfo>

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 'LiveParaminfo'.

Response Information

Resource Description

TennisLiveBets
NameDescriptionTypeAdditional information
Livebets

Collection of TennisLiveBetsModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Livebets": [
    {
      "awayTeam": "sample string 1",
      "awayTeamId": 2,
      "eventId": 3,
      "homeTeam": "sample string 4",
      "homeTeamId": 5,
      "tournamentId": 6,
      "tournamentName": "sample string 7",
      "marketId": 8,
      "marketName": "sample string 9",
      "match": "sample string 10",
      "outcomeId": 11,
      "outcomeName": "sample string 12",
      "sportName": "sample string 13",
      "sportId": 14,
      "submarketName": "sample string 15",
      "text": "sample string 16",
      "decimalOdds": 17.0,
      "kickOffTime": "sample string 18",
      "matchStatus": "sample string 19",
      "service": "sample string 20",
      "score": "sample string 21",
      "setNumber": 22
    },
    {
      "awayTeam": "sample string 1",
      "awayTeamId": 2,
      "eventId": 3,
      "homeTeam": "sample string 4",
      "homeTeamId": 5,
      "tournamentId": 6,
      "tournamentName": "sample string 7",
      "marketId": 8,
      "marketName": "sample string 9",
      "match": "sample string 10",
      "outcomeId": 11,
      "outcomeName": "sample string 12",
      "sportName": "sample string 13",
      "sportId": 14,
      "submarketName": "sample string 15",
      "text": "sample string 16",
      "decimalOdds": 17.0,
      "kickOffTime": "sample string 18",
      "matchStatus": "sample string 19",
      "service": "sample string 20",
      "score": "sample string 21",
      "setNumber": 22
    }
  ]
}

application/xml, text/xml

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