Markets results
- Betgate Cluster Integration
- Domain
-
Markets description
AmericanFootball AnyOther AustralianFootball Badminton Bandy Baseball Basketball Bowls BeachFootball BeachVolleyball Biathlon Boxing Chess Cricket Curling Darts Entertainment ESport FieldHockey Floorball Football Futsal Golf Handball IceHockey Kabaddi MMA MotorSport Olympics Politics Rugby Snooker Squash TableTennis Tennis UFC Volleyball Waterpolo
Market Result JSON description:
{
"eventId": string, // Event string id
"results": [
{
"key": {
"eventId": string, // Event string id
"tradingType": int, // Type of trading
"marketType": int, // Type of market, for detail information please look at document described markets or on metadata service
"period": int, // Period of match
"subPeriod": nullable int, // Subperiod for match - depends on sport, for some sport like as football this field is null
},
"resultItems": [
{
"values": [],
"outcomes": [
{
"outcomeType": int, //id type of outcome
"outcomeValues": [array of string], //parameters of outcome
"selectionKey": string, //outcome identificator for bet acceptance,
"result": string, // type of result
"deadHeat": nullable double, // Dead Heat is a rule of distribution of places on the basis of fairness, occurs when more than one athlete or team takes the same place.
"isRemoved": bool // shows if result item was removed in current update
}
],
"isRemoved": bool // shows if outcome item was removed in current update
}
],
"lineItemId": string, //parent market group for current market, required for bet acceptance, if it empty please look at market item lineItemId
"sport": string, // market sport,
"isRemoved": bool // shows if result item was removed in current update
}
],
"resultExplanation": int, //description of results - templateId (id of trmplate from queue with template notes and params - for example "0:2")
"dataVersion": int, //version of data entity
"timestamp": DateTime // date time with time zone of last update
}
Result Types:
- Win
- Lose
- Return
- Return025
- Return075
- DeadHeat
Trading Types:
- Match
- UniEvent
- Tournament
- Comparison
- HomeAway
- Corners
- YellowCards
- Fouls
- ShotsAll
- ShotsOnTarget
- MatchStat
- Offsides
- BallPossessions
- SOG
- PIM
- Aces
- DoubleFaults
- ThreePoints
- Rebounds
- Assists
- Steals
- Statistics
Example:
{
"eventId": "9690655",
"results": [
{
"key": {
"eventId": "9690655",
"tradingType": 1,
"marketType": 1,
"period": 0
},
"resultItems": [
{
"values": [],
"outcomes": [
{
"version": 7,
"outcomeType": 0,
"selectionKey": "[1,[],[0],1,0,[]]",
"result": "Win",
"deadHeat": null,
"outcomeValues": [],
"isRemoved": false
},
{
"version": 7,
"outcomeType": 3,
"selectionKey": "[1,[],[0],1,3,[]]",
"result": "Lose",
"deadHeat": null,
"outcomeValues": [],
"isRemoved": false
}
],
"isRemoved": false
}
],
"lineItemId": "9a4c06cf314346e3b15a9a264a5e55c9",
"dataVersion": 2,
"sport": "Tennis",
"isRemoved": false
}
],
"dataVersion": 2,
"timestamp": "2023-02-28T08:41:56.4922622Z",
"resultExplanation": {
"templateId": "ExpScoreString",
"parameters": {
"x": "0:2"
}
}
}