Place Bet
Place bet in the system
PlaceBet(stake, sportId, eventId, periodNumber, lineId, betType, altLineId = NULL, team = NULL, side = NULL, acceptBetterLine = TRUE, winRiskStake = "RISK", oddsFormat = "AMERICAN")
stake |
numeric Wager amount in currency |
sportId |
numeric the sport id |
eventId |
numeric the vent id |
periodNumber |
numeric Number of the period , see Pinnacle API manual |
lineId |
numeric ID of the line |
betType |
BET_TYPE
|
altLineId |
numeric ID of the alternate line (lineID must also be included) |
team |
Default = NULL , , see Pinnacle API manual
|
side |
Defaulat = NULL , , see Pinnacle API manual
|
acceptBetterLine |
Default=TRUE ,boolean Whether or not to accept a bet when there is a line change in favor of the client |
winRiskStake |
Default="RISK", either place the stake to RISK/WIN
|
oddsFormat |
Default="AMERICAN", Desired Odds Format
|
list containing :
status If Status is PROCESSED_WITH_ERROR errorCode will be in the response
errorCode
SetCredentials("TESTAPI","APITEST") AcceptTermsAndConditions(accepted=TRUE) PlaceBet (stake=10, sportId=1, eventId=495418854, periodNumber=0, lineId=222136736, betType="MONEYLINE", team="TEAM2", acceptBetterLine=TRUE, winRiskStake="WIN", oddsFormat="AMERICAN")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.