POST Soccer/Nextbet

Request Information

URI Parameters

None.

Body Parameters

NextbetParaminfo
NameDescriptionTypeAdditional information
eventcode

integer

None.

blmarketid

integer

None.

lang

string

None.

selectionid

integer

None.

marketTypeKey

string

None.

ismarkettypeKey

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "eventcode": 1,
  "blmarketid": 2,
  "lang": "sample string 3",
  "selectionid": 4,
  "marketTypeKey": "sample string 5",
  "ismarkettypeKey": true
}

application/xml, text/xml

Sample:
<NextbetParaminfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bettorlogic.Gaming1.Models.Models">
  <blmarketid>2</blmarketid>
  <eventcode>1</eventcode>
  <ismarkettypeKey>true</ismarkettypeKey>
  <lang>sample string 3</lang>
  <marketTypeKey>sample string 5</marketTypeKey>
  <selectionid>4</selectionid>
</NextbetParaminfo>

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

Response Information

Resource Description

NextBestBets
NameDescriptionTypeAdditional information
awayTeam

string

None.

awayTeamId

integer

None.

eventId

integer

None.

homeTeam

string

None.

homeTeamId

integer

None.

leagueId

integer

None.

leagueName

string

None.

marketName

string

None.

blMarketId

integer

None.

marketId

integer

None.

match

string

None.

outcomeName

string

None.

outcomeId

integer

None.

sportId

integer

None.

sportName

string

None.

submarketName

string

None.

text

string

None.

decimalOdds

decimal number

None.

kickOffTime

string

None.

blRank

integer

None.

blOutcome

string

None.

success

boolean

None.

description

string

None.

Nextbets

Collection of NextBestBets

None.

marketTypeKey

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Bettorlogic.Gaming1.Models.Models.NextBestBets'. Path 'Nextbets'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Bettorlogic.Gaming1.Models.Models.NextBestBets'. Path 'Nextbets'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Bettorlogic.Gaming1.Models.Models.NextBestBets, Bettorlogic.Gaming1.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[Bettorlogic.Gaming1.Models.Models.NextBestBets, Bettorlogic.Gaming1.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.