GetSystemParlayDetails - Saba-sports/OddsDirectAPI GitHub Wiki
This API is to get System Parlay ticket details.
- Only support query settlement parlay ticket.
Request
GET /betting/{version}/GetSystemParlayDetails?parlayTicketNo =12345
Content-Type: application/json
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Parameter |
Format |
Length |
Mandatory |
Description |
parlayTicketNo |
long |
|
Yes |
Specifies the ticket number of parlay from GetBetDetails. |
Response
{
systemParlayInfo : [
{
"stake": decimal,
"price": decimal,
"settlementPrice": decimal,
"settlementTime": DateTime,
"SettlementAmount": decimal,
"systemParlayDetails":[
{
"leagueId": int,
"eventId": int,
"homeTeamId": int,
"awayTeamId": int,
"kickOffTime": DateTime,
"parlayPrice": decimal,
"betType": int,
"key": string,
"sportType": int,
"homePoint": decimal,
"awayPoint": decimal,
"isLive": bool,
"status": string,
"homeScore": int?,
"awayScore": int?,
"parlaySettlementTime": DateTime
},
{
"leagueId": int,
"eventId": int,
"homeTeamId": int,
"awayTeamId": int,
"kickOffTime": DateTime,
"parlayPrice": decimal,
"betType": int,
"key": string,
"sportType": int,
"homePoint": decimal,
"awayPoint": decimal,
"isLive": bool,
"status": string,
"homeScore": int?,
"awayScore": int?,
"parlaySettlementTime": DateTime
}]
}]
}
Parameter |
Format |
Description |
systemParlayInfo |
Array |
Specifies an array of system parlay information. |
Parameter |
Format |
Description |
stake |
decimal |
Specifies the stake amount of the bet. |
price |
decimal |
Specifies the price. |
settlementPrice |
decimal |
Specifies the price when ticket is settled. |
settlementTime |
DateTime |
Specifies the time of the ticket is settled. |
settlementAmount |
decimal |
Specifies win or loss amount of settlement. |
systemParlayDetails |
Array |
Specifies an array of system parlay information detail. |
Parameter |
Format |
Description |
leagueId |
int |
Specifies the identifier of the league. |
eventId |
int |
Specifies the identifier of the event. |
homeTeamId |
int |
Specifies the identifier of the home team. |
awayTeamId |
int |
Specifies the identifier of the away team. |
kickOffTime |
datetime |
Specifies the start time for the event. |
parlayPrice |
decimal |
Specified the price of the parlay. |
betType |
int |
Specifies the type of the betting. |
key |
string |
Specifies the key of the selection. |
sportType |
int |
Specifies the identifier of the sport. |
homePoint |
decimal |
Specifies the point spread of home team. |
awayPoint |
decimal |
Specifies the point spread of away team. |
isLive |
bool |
Specifies whether the event is live. |
status |
string |
Specifies the status of the ticket.half won / half lose / won / lose / void / running / draw / reject / refund / waiting |
homeScore |
int? |
Specifies the score of the home team. |
awayScore |
int? |
Specifies the score of the away team. |
parlaySettlementTime |
DateTime |
Specifies the parlay settlement time. |