Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
API-NG Reference Guide - 20th October2014.pdf
Скачиваний:
95
Добавлен:
11.02.2015
Размер:
2.41 Mб
Скачать

listVenues

List< VenueResult > listVenues ( MarketFilter filter ,Stringlocale ) throws APINGException

Returns a list of Venues (i.e. Cheltenham, Ascot) associated with the markets selected by the MarketFilter. Currently, only Horse Racing markets are associated with a Venue.

Parameter name

Type

Required

Description

filter

MarketFilter

 

The filter to select

 

 

 

desired markets. All

 

 

 

markets that match the

 

 

 

criteria in the filter are

 

 

 

selected.

locale

String

 

The language used for

 

 

 

the response. If not

 

 

 

specified, the default is

 

 

 

returned.

Return type

Description

List< VenueResult >

output data

Throws

Description

APINGException

Generic exception that is thrown if this operation

 

fails for any reason.

Since 1.0.0

 

placeOrders

Operation

placeOrders

PlaceExecutionReport placeOrders ( StringmarketId , List< PlaceInstruction >instructions ,Stringc ustomerRef ) throws APINGException

Place new orders into market. This operation is atomic in that all orders will be placed or none will be placed. Please note that additional bet sizing rules apply to bets placed into the Italian Exchange.

Parameter name

Type

Required

Description

marketId

String

 

The market id these

 

 

 

orders are to be placed

 

 

 

on

instructions

List< PlaceInstruction >

 

The number of place

 

 

 

instructions. The limit

 

 

 

of place instructions

 

 

 

per request is 200.

customerRef

String

 

Optional parameter

 

 

 

allowing the client to

 

 

 

pass a unique string

 

 

 

(up to 32 chars) that is

 

 

 

used to de-dupe

 

 

 

mistaken

 

 

 

re-submissions.

 

 

 

CustomerRef can

 

 

 

contain: upper/lower

 

 

 

chars, digits, chars : - .

 

 

 

_ + * : ; ~ only.

Return type

Description

PlaceExecutionReport

 

Throws

Description

APINGException

Generic exception that is thrown if this operation

 

fails for any reason.

Since 1.0.0

 

Italian Exchange Specific Bet Rules

There are several additional regulatory rules which apply specifically and only to accounts betting on the Italian Exchange (https://www.betfair.it/exchange):

1.The stake for each back offer is a minimum of 200 Euro Cents and can only be incremented in multiples of 50 Euro Cents.

2.Any lay offers placed by the customer, must be placed in such a way as to ensure that the stake for any

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]