取得串关注单的相关信息
- 同场赛事不支援串关,亦即从同个赛事取得market_id不支持。
- 最低串关数量可由GetMarkets的combo取得
Request
GET /betting/{version}/GetParlayTickets
Content-Type: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
or
POST /betting/{version}/GetParlayTickets
Content-Type: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
使用json方式将参数带入请求
{
"language": string,
"parlayTickets": [
{
"sportType": int,
"marketId": int,
"point": decimal,
"key": string
},
{
"sportType": int,
"marketId": int,
"point": decimal,
"key": string
}
]
}
Parameter |
Format |
Mandatory |
Description |
language |
string |
-- |
指定欲回应的数据语系,请参阅Language Table |
parlayTickets |
ParlayTicketInfo Array |
Yes |
串关注单相关信息 |
ParlayTicketInfo
Parameter |
Format |
Length |
Mandatory |
Description |
sportType |
int |
|
Yes |
体育项目 ID |
marketId |
int |
|
Yes |
盘口ID |
point |
decimal |
8.2 |
|
球头, 预设为0 |
key |
string |
10 |
Yes |
投注类型选项 |
Response
{
"combos": [
{
"comboType": string,
"comboTypeName": string,
"price": double,
"betCount": int,
"minBet": decimal,
"maxBet": decimal
},
{
"comboType": string,
"price": double,
"betCount": int,
"minBet": decimal,
"maxBet": decimal
}
],
"priceInfo": [
{
"stateCode": int,
"stateMessage": string,
"currentPrice": decimal,
"marketId": int,
"key": string,
"sportType": int,
"point": double?,
"betType": int,
"oddsType": int,
"status": string,
"liveHomeScore": int,
"liveAwayScore": int
},
{
"stateCode": int,
"stateMessage": string,
"currentPrice": decimal,
"marketId": int,
"key": string,
"sportType": int,
"point": double?,
"betType": int,
"oddsType": int,
"status": string,
"liveHomeScore": int,
"liveAwayScore": int
}
]
}
Parameter |
Format |
Description |
combos |
ComboInfo |
串关赛事相关信息 |
priceInfo |
PriceInfo |
盘口赔率相关信息 |
ComboInfo
Parameter |
Format |
Description |
comboType |
string |
串关组合,请参考Parlay Combo Enumeration |
comboTypeName |
string |
串关组合名称含注单张数 |
price |
double |
赔率 |
betCount |
int |
注单数 |
maxBet |
decimal |
最大下注限额 |
minBet |
decimal |
最小下注限额 |
PriceInfo
Parameter |
Format |
Description |
stateCode |
int |
该串关选择的状态代码0 : 可下注状态6 : 球头已不存在12 : 赔率调整中18 : [E-Sport 专用] 赛事状态改变 ( In-Play 和 Starting Soon)22 : 赛事比分改变23 : 赛事球头改变 |
stateMessage |
string |
该串关选择的状态信息 |
currentPrice |
decimal |
投注当下实时赔率 |
marketId |
int |
盘口ID |
key |
string |
投注类型选项 |
sportType |
int |
体育项目ID |
point |
double? |
球头 |
betType |
int |
投注类型 |
oddsType |
int |
盘口赔率类型1 : Malay Odds ; 2 : Hong Kong Odds ; 3 : Decimal Odds ; 4 : Indo Odds ; 5 : American Odds |
status |
string |
盘口状态running / suspend / closePrice / closed |
liveHomeScore |
int |
主队得分 |
liveAwayScore |
int |
客对得分 |