beta GetOutrightTicket - Saba-sports/OddsDirectAPI GitHub Wiki
Request
GET /betting/{version}/GetOutrightTicket?SportType=1&Orid=7436287
Content-Type: application/json
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
| Parameter |
Format |
Length |
Mandatory |
Description |
| SportType |
int |
|
Yes |
Specifies the identifier of the sport. |
| Orid |
int |
|
Yes |
Specifies the identifier of the outright. |
| Language |
string |
|
-- |
Specific the language of the response context. |
Response
{
"sportType": int,
"orid": int,
"leagueId": int,
"teamId": int,
"teamName": string,
"price": decimal,
"maxBet": decimal,
"minBet": decimal
}
| Parameter |
Format |
Description |
| sportType |
int |
Specifies the identifier of the sport. |
| orid |
int |
Specifies the identifier of the outright. |
| leagueId |
int |
Specifies the identifier of the league. |
| teamId |
int |
Specifies the identifier of the team. |
| teamName |
string |
Specifies the name of the team. |
| price |
decimal |
Specifies the odds price of this team. (DEC) |
| maxBet |
decimal |
Specifies the maximum bet amount for this team. |
| minBet |
decimal |
Specifies the minimum bet amount for this team. |