beta PlaceOutrightBet - Saba-sports/OddsDirectAPI_CN GitHub Wiki
用于下注优胜冠军的注单
Request
POST /betting/{version}/PlaceOutrightBet?VendorTransId=123456&SportType=2&Orid=1234567&Price=6.25&Stake=10
Content-Type: application/json
X-Forwarded-For: client ip (如果通过代理使用API需要额外带入)
Authorization: Bearer {JWT token}
Parameter |
Format |
Length |
Mandatory |
Description |
vendorTransId |
string |
50 |
Yes |
厂商注单号码 |
sportType |
int |
|
Yes |
体育项目 ID |
orid |
int |
|
Yes |
优胜冠军赔率ID |
price |
decimal |
8.2 |
Yes |
赔率 |
stake |
int |
|
Yes |
下注金额 |
language |
string |
|
-- |
指定欲回应的数据语系,请参阅Language Table |
Response
{
"betPrice": decimal,
"transId": long,
"currentPrice": decimal,
"stake": decimal,
"betStatus": short,
"betAcceptSecond": int,
"ticketStatus": string,
"maxBet": decimal,
"minBet": decimal
}
Parameter |
Format |
Description |
betPrice |
decimal |
下注赔率 |
transId |
long |
沙巴注单号码 |
currentPrice |
decimal |
盘口当下的赔率 |
stake |
decimal |
下注额度 |
betStatus |
short |
注单状态0 :下注成功 ;1 :下注失败 |
ticketStatus |
string |
注单状态/running/reject/waiting |
maxBet |
decimal |
最大投注限额 |
minBet |
decimal |
最小投注限额 |