
- •Getting Started with API-NG
- •Application Keys
- •API-NG Login
- •Non-Interactive (bot) login
- •Certificate Generation With XCA
- •Interactive Login from a Desktop Application
- •Interactive Login - API Endpoint
- •Login FAQs
- •Keep Alive
- •Logout
- •API-NG - Visualiser
- •Example Requests
- •Market Data Request Limits
- •Understanding Market Navigation
- •API 6.0 > API-NG Operations Comparison Table
- •API-NG Reference Guide
- •Betting API
- •Betfair Starting Price Betting (BSP)
- •Betting on Australian Events
- •Betting On Italian Exchange
- •Navigation Data For Applications
- •Betting Operations
- •listCompetitions
- •listCountries
- •listCurrentOrders
- •listClearedOrders
- •listClearedOrders - Roll-up Fields Available
- •listEvents
- •listEventTypes
- •listMarketBook
- •listMarketCatalogue
- •listMarketProfitAndLoss
- •listMarketTypes
- •listTimeRanges
- •listVenues
- •placeOrders
- •Italian Exchange Specific Bet Rules
- •cancelOrders
- •replaceOrders
- •updateOrders
- •Betting Exceptions
- •Betting Enums
- •Betting Type Definitions
- •Accounts API
- •Accounts Operations
- •createDeveloperAppKeys
- •getAccountDetails
- •getAccountFunds
- •getDeveloperAppKeys
- •getAccountStatement
- •listCurrencyRates
- •transferFunds
- •Account Operations (Vendor API)
- •activateApplicationSubscription
- •cancelApplicationSubscription
- •getApplicationSubscriptionHistory
- •getApplicationSubscriptionToken
- •getVendorClientId
- •listAccountSubscriptionTokens
- •listApplicationSubscriptionTokens
- •updateApplicationSubscription
- •Accounts Exceptions
- •Accounts Enums
- •Accounts TypeDefinitions
- •Heartbeat API
- •Vendor Services in API-NG
- •Interface Definition Documents
- •Additional Information
- •Betfair Price Increments
- •Currency Parameters
- •Racecourse Abbreviations
- •Runner Metadata Description
- •Time Zones
- •Common Error Codes
- •Sample Code
- •Excel & VBA Sample
- •Java
- •Javascript
- •Python
corresponding back offer amounts to a minimum of 50 Euro Cents.
3.We cannot accept betting offers with potential winnings, calculated on the basis of the pre-selected odds, that exceed the amount envisaged by article 12, paragraph 4, of Finance Minister Decree no. 111 of 1 March 2006 (10,000 Euros). N.B. This does not include stake.
The Italian Exchange isn't available for betting between 0100 and 0500 GMT
cancelOrders
Operation

cancelOrders
CancelExecutionReport cancelOrders ( StringmarketId,List< CancelInstruction >instructions,Strin gcustomerRef ) throws APINGException
Cancel all bets OR cancel all bets on a market OR fully or partially cancel particular orders on a market. Only LIMIT orders can be cancelled or partially cancelled once placed.
Parameter name |
Type |
Required |
Description |
marketId |
String |
|
If not supplied all bets |
|
|
|
are cancelled |
instructions |
List< CancelInstruction |
|
All instructions need to |
|
> |
|
be on the same market. |
|
|
|
If not supplied all bets |
|
|
|
on the market (if |
|
|
|
market id is passed) |
|
|
|
are fully cancelled. |
|
|
|
The limit of cancel |
|
|
|
instructions per request |
|
|
|
is 60 |
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. |
Return type |
|
Description |
|
CancelExecutionReport |
|
|
|
Throws |
|
Description |
|
APINGException |
|
Generic exception that is thrown if this operation |
|
|
|
fails for any reason. |
|
Since 1.0.0
replaceOrders
Operation

replaceOrders
ReplaceExecutionReport replaceOrders ( StringmarketId , List< ReplaceInstruction >instructions , StringcustomerRef ) throws APINGException
This operation is logically a bulk cancel followed by a bulk place. The cancel is completed first then the new orders are placed. The new orders will be placed atomically in that they will all be placed or none will be placed. In the case where the new orders cannot be placed the cancellations will not be rolled back. See ReplaceInstruction.
Parameter name |
Type |
Required |
Description |
marketId |
String |
|
The market id these |
|
|
|
orders are to be placed |
|
|
|
on |
instructions |
List< ReplaceInstructio |
|
The number of replace |
|
n > |
|
instructions. The limit |
|
|
|
of replace instructions |
|
|
|
per request is 60. |
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. |
Return type |
|
Description |
|
ReplaceExecutionReport |
|
|
|
Throws |
|
Description |
|
APINGException |
|
Generic exception that is thrown if this operation |
|
|
|
fails for any reason. |
|
Since 1.0.0
updateOrders
Operation