v1

latestOpenAPI 3.0.02026-07-1462633.1 KB
Bets

Places a single bet

Places a single bet. When placing a single bet using live inplay bets, the system might generate a bet delay to allow a time margin to negate the effects of major changes (for example, goals) to the market. Note that the amount of bet delay will vary by category and event type. A delayedBetId will be recieved that can be used to resubmit the bet.

post/bet/single

Query parameters

fieldsstring[]

Specify an absolute field list to return (Comma Separated List)

includestring[]

Specify fields in addition to the default to return (Comma Separated List)

excludestring[]

Specify fields from the default to exclude (Comma Separated List)

Headers

apiKeystring required

A unique identifier of your application that is generated by the API portal.

apiSecretstring required

Another unique identifier for your application.

apiTicketstring required

The ticket obtained from the sessions API

Request body

delayedBetIdstring

The delayed bet identifier

freeBetIdstring

The ID number of the free bet token if used in conjunction with this bet

priceDeninteger

When the odds are shown in vulgar fractions this is the denominator of the fraction. For example: 2 in 5/2

priceNuminteger

When the odds are shown in vulgar fractions this is the numerator of the fraction. For example: 5 in 5/2

priceTypestring required

The type of price taken by the customer when the bet is made. Can be one of the following: L - Live Fixed price, S - Starting price - Horse and Greyhound racing or G - Guaranteed best price.

selectionIdstring required

The unique ID for the selection of the bet

stakenumber double required

The amount of the stake placed on the bet

typestring required

The type of bet placed. Can be one of the following: W - Win or E- EachWay

Response

Success

idstring

The bet id

numLinesinteger

The number of lines the bet consists of

numbernumber

Number of the bet if this is part of a multiple bet

placedDateTimestring

The time the bet was placed. For example: 2013-01-30TT13:34:20. The value of this element can be replaced with the current timestamp if it was missing.

receiptstring required

The unique ID of the bet receipt

totalStakenumber double

The total amount staked on the bet