Events
Event JSON description:
{
"id": string, // Event string id
"tournamentId": string, // Tournament string id
"tournamentName": {
string: string, // name of tournament - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"categoryId": string, // Category string id
"categoryName": {
string: string, // name of category - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"name": {
string: string, // name of event - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"tradingStatus": string, // shows trading status of event on Gr8Tech Feed - Opened (market open for trading), Supended (market is not ready for trading, but coefficients still changing), Removed (event is not allowed for trading)
"stage": string, // shows current of event - prematch or Live
"status": string, // shows current of event - Created, Started, Paused, Finished, Retired, Abandoned, Interrupted, Cancelled, Postponed
"type": string, // type of event - Match, Outrights, UniEvent - Event type "Unievent" relates to FreeForm functionality, which will be delivered on later stages upon readiness
"startTime": DateTime, // date and time when event starting,
"competitors": [
{
"id": string, // Unique competitor string id
"name": {
string: string, // name of competitor - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"slug": string, // short name of competitor for SEO links
}],
"players": [
{
"id": string, // Event string id
"names": {
string: string, // name of competitor - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"slug": string, // short name of player for SEO links
}],
"timestamp": DateTime // date time with time zone of last update
"aggregateTimestamp": DateTime // date time with time zone of aaggregation data on MTS service (required for debug and integaration problems resolving)
"dataVersion": int, // version of event with if any operation from console are applied (Booking/Unbooking, Freeze/Unfreeze) - (required for debug and integaration problems resolving)
"eventDataVersion": int, // version of event with current id, increments when one of event fields are changed from Feed
"plannedForPrematch": bool, // is planned this event for trading in prematch
"plannedForLive": bool, // is planned this event for trading in live
"sport": string, // string id of sport
"sportName": {
string: string, // name of sport - "key: value" map where left side is key is string language id (en, ro, fr, etc.), right side is value - string
},
"slug": string, // short name of event for SEO links
"isCybersport": bool, // bool flag that shows if event is cyber sport
"isActive": bool, // is active event - if it ready for trading now or in future, if status of event is one of "Created, Started, Paused, Interrupted, Postponed" then isActive = true, if event status is one of "Finished, Retired, Abandoned, Cancelled" than isActive = false
"isOpenForTrading": bool // event is open for trading on Gr8Tech Feed
"isFrozen": bool // trading of event is suspended by b2b console operator (you could set isFrozen=true when you want to suspend accepting bets even if the feed gives the event as active for trading)
"sourceDataVersion": bool // original event version
"modifiedBy": bool // show reason of update - feed, booking schema, or user name who initated changes from console
"competitorType": string // type of event competitors - None, Player, Pair, Team
"regulationValues": map<string, string> - map of regulations, filled only for non-standart regulations
"outcomesCount": int // count of opened outcomes from active market events in feed (total)
"liveBookingInfo": // information about booking in In-Play
{
"isBooked": bool, //event is bookied
"bookingType": int, //bookingType 1 - Auto by booking schema, 2 - manual booking
"wasBooked": false, //event was booked before unbooking
"autoBookingSchemaId": int //booking schema id
},
"prematchBookingInfo": // information about booking in Prematch
{
"isBooked": bool, //event is bookied
"bookingType": int, //bookingType 1 - Auto by booking schema, 2 - manual booking
"wasBooked": false, //event was booked before unbooking
"autoBookingSchemaId": int //booking schema id
}
}
Example:
{
"id": "9688042",
"tournamentId": "e911171d55394b159d98c4cd6daa06f2",
"tournamentName": {
"pt": "Mulheres. Trnava. Rígido. Qualificação",
"sw": "Wanawake. Trnava. Hard. Zinazofuzu",
"my": "Wanita. Trnava. Keras. Kelayakan",
"ms": "Wanita. Trnava. Keras. Kelayakan",
"uk": "Жінки. Трнава. Хард. Кваліфікація",
"en": "Women. Trnava. Hard. Qualifying",
"es": "Femenino. Trnava. Dura. Calificación",
"ru": "Женщины. Трнава. Хард. Квалификация",
"fa": "زنان. ترناوا. هارد. مقدماتی",
"ro": "Feminin. Trnava. Hard. Calificări"
},
"categoryId": "a8988ff14804438bb67a5285824c0201",
"categoryName": {
"pt": "ITF",
"uz": "ITF",
"vi": "ITF",
"fa": "فدراسیون بین المللی تنیس(آی تی اف)",
"th": "ไอทีเอฟ",
"en": "ITF",
"ru": "ITF",
"uk": "ITF",
"my": "ITF",
"ms": "ITF",
"sw": "ITF",
"ro": "ITF",
"es": "ITF",
"zh": "ITF",
"zn": "ITF"
},
"name": {
"pt": "Maria Bondarenko - Aneta Laboutkova",
"fa": "Bondarenko Maria - Aneta Laboutkova",
"sw": "Bondarenko Maria - Aneta Laboutkova",
"ru": "Мария Бондаренко - Анета Лабуткова",
"uk": "Марія Бондаренко - Анета Лабуткова",
"en": "Maria Bondarenko - Aneta Laboutkova"
},
"tradingStatus": "Opened",
"stage": "Live",
"status": "Created",
"type": "Match",
"eventType": 0,
"startTime": "2023-02-27T15:33:00Z",
"competitors": [
{
"id": "169339",
"name": {
"pt": "Maria Bondarenko",
"fa": "Bondarenko Maria",
"sw": "Bondarenko Maria",
"ru": "Мария Бондаренко",
"uk": "Марія Бондаренко",
"en": "Maria Bondarenko"
},
"nameMobile": {
"ru": "Бондаренко М.",
"en": "Bondarenko M."
},
"slug": "maria-bondarenko"
},
{
"id": "67764",
"name": {
"pt": "Aneta Laboutkova",
"fa": "Aneta Laboutkova",
"sw": "Aneta Laboutkova",
"ru": "Анета Лабуткова",
"uk": "Анета Лабуткова",
"en": "Aneta Laboutkova"
},
"nameMobile": {
"ru": "Лабуткова А.",
"uk": "Лабуткова А.",
"en": "Laboutkova A."
},
"slug": "aneta-laboutkova"
}
],
"players": [
{
"id": "324783",
"names": {
"uk": "Аарон Фінч (V)",
"en": "Aaron Finch (V)",
"ar": "اارون فينتش (في)",
"ru": "Аарон Финч (V)",
"ja": "アーロン・フィンチ (V)"
}
},
{
"id": "324793",
"names": {
"uk": "Пет Каммінс (V)",
"en": "Pat Cummins (V)",
"ar": "بات كوممينس (في)",
"ru": "Пэт Камминс (V)",
"ja": "パット・カミンズ (V)"
}
}
],
"timestamp": "2023-02-27T15:30:05.4282723Z",
"aggregateTimestamp": "2023-02-27T15:30:05.557523Z",
"removedTimestamp": null,
"dataVersion": 21,
"eventDataVersion": 21,
"plannedForPrematch": true,
"plannedForLive": true,
"sport": "Tennis",
"sportName": {
"zh": "网球",
"en": "Tennis",
"sw": "Tenisi",
"th": "เทนนิส ",
"es": "Tenis",
"fa": "تنیس",
"zn": "网球",
"vi": "Quần vợt",
"my": "Tenis",
"ru": "Теннис",
"ms": "Tenis",
"bn": "টেনিস",
"pt": "Tênis",
"ro": "Tenis",
"bd": "টেনিস",
"uz": "Tennis",
"fr": "Tennis",
"uk": "Теніс"
},
"slug": "maria-bondarenko-aneta-laboutkova",
"isCybersport": false,
"isActive": true,
"isOpenForTrading": true,
"isFrozen": false,
"competitorType": "Player",
"outcomesCount": 56,
"liveBookingInfo": {
"isBooked": true,
"bookingType": 1,
"wasBooked": false,
"autoBookingSchemaId": 1
},
"prematchBookingInfo": {
"isBooked": true,
"bookingType": 1,
"wasBooked": false,
"autoBookingSchemaId": 2
}
}