PlaceBet: Place Bet

Description Usage Arguments Value Examples

Description

Place bet in the system

Usage

1
2
PlaceBet(acceptBetterLine, oddsFormat, stake, winRiskStake, sportId, eventId,
  periodNumber, betType, lineId)

Arguments

acceptBetterLine

boolean Whether or not to accept a bet when there is a line change in favor of the client

oddsFormat

character Bet is processed with this odds format it takes values in :

  • AMERICAN

  • DECIMAL

  • HONGKONG

  • INDONESIAN

  • MALAY

stake

numeric Wagered amount in Client’s currency

winRiskStake

WIN_RISK_TYPE Whether the stake amount is risk or win amount

  • WIN

  • RISK

sportId

numeric the sport id

eventId

numeric the vent id

periodNumber

This represents the period of the match. For example For soccer : #' 0–>Game 1–>1st Half 2–>2nd Half

betType

BET_TYPE

  • SPREAD

  • MONEYLINE

  • TOTAL_POINTS

  • TEAM_TOTAL_POINTS

lineId

numeric Line identification

Value

list containing :

Examples

1
2
3
PlaceBet (acceptBetterLine=TRUE,oddsFormat="AMERICAN", stake=10,
          winRiskStake="WIN",sportId=29,eventId=307962592,
           periodNumber=0,betType="MONEYLINE",lineId=103648474)

agstudy/pinnacleapi documentation built on May 11, 2019, 10:29 p.m.