Prematch Sport Menu
GET
https://testodds.cmswager.com/SportApi/GetTournamentSportMenu/{clientKey}/{language}
The GET
request to the provided URL retrieves a structured list of sports, each with associated categories and tournaments. Each sport object contains details like sportId
, sportName
, and whether live matches are available (hasLive
). Categories are nested within sports, identified by categoryId
and categoryName
. Further, tournaments are listed under each category, detailing the number of matches and other attributes, such as tournamentId
and tournamentName
.
Example Success Response
[
{
"sportId": 1,
"sportName": "Soccer",
"sportType": 1,
"hasLive": true,
"sort": 1,
"expirationDate": "0001-01-01T00:00:00",
"matchesNumber": 818,
"categories": [
{
"categoryId": 34,
"categoryName": "Australia",
"matchesNumber": 14,
"sort": 255,
"isoCode": "AUS",
"hasLive": false,
"tournaments": [
{
"tournamentId": 136,
"tournamentName": "A-League",
"groupId": 0,
"matchesNumber": 9,
"sort": 0,
"hasLive": false,
"expirationDate": "0001-01-01T00:00:00",
"objTrad": null
},
{
"tournamentId": 1894,
"tournamentName": "W-League",
"groupId": 0,
"matchesNumber": 5,
"sort": 0,
"hasLive": false,
"expirationDate": "0001-01-01T00:00:00",
"objTrad": null
}
],
"objTrad": null
}
]
},
{
"sportId": 2,
"sportName": "Basketball",
"sportType": 1,
"hasLive": true,
"sort": 3,
"expirationDate": "0001-01-01T00:00:00",
"matchesNumber": 136,
"categories": [
{
"categoryId": 264,
"categoryName": "Argentina",
"matchesNumber": 5,
"sort": 255,
"isoCode": "ARG",
"hasLive": false,
"tournaments": [
{
"tournamentId": 1680,
"tournamentName": "LNB",
"groupId": 0,
"matchesNumber": 5,
"sort": 0,
"hasLive": false,
"expirationDate": "0001-01-01T00:00:00",
"objTrad": null
}
],
"objTrad": null
},
{
"categoryId": 113,
"categoryName": "Australia",
"matchesNumber": 4,
"sort": 255,
"isoCode": "AUS",
"hasLive": false,
"tournaments": [
{
"tournamentId": 1524,
"tournamentName": "NBL",
"groupId": 0,
"matchesNumber": 2,
"sort": 0,
"hasLive": false,
"expirationDate": "0001-01-01T00:00:00",
"objTrad": null
},
{
"tournamentId": 1506,
"tournamentName": "WNBL",
"groupId": 0,
"matchesNumber": 2,
"sort": 0,
"hasLive": false,
"expirationDate": "0001-01-01T00:00:00",
"objTrad": null
}
],
"objTrad": null
}
]
}
]
Last updated