Skip to main content

Module models

Module models 

Source
Expand description

Betfair REST/JSON-RPC API model types.

These types cover the Betting API, Accounts API, Identity API, and Navigation API. All use camelCase JSON field naming.

§References

https://docs.developer.betfair.com/

Structs§

AccountDetailsResponse
Account details response.
AccountFundsResponse
Account funds response.
CancelExecutionReport
Response to a cancelOrders request.
CancelInstruction
Instruction to cancel an existing order.
CancelInstructionReport
Individual instruction report for a cancel operation.
CancelOrdersParams
Parameters for a cancelOrders request.
CertLoginResponse
Login response from the certificate-based SSO API (certlogin).
ClearedOrderSummary
Cleared (settled/voided/lapsed/cancelled) order summary.
ClearedOrderSummaryReport
Report containing cleared order summaries.
Competition
Competition (e.g. “English Premier League”).
CurrentOrderSummary
Current (active) order summary.
CurrentOrderSummaryReport
Report containing current order summaries.
Event
Event (e.g. a specific football match).
EventType
Event type (e.g. “Soccer”, “Horse Racing”).
FlattenedMarket
Flattened (denormalized) view of a market from the navigation tree.
ItemDescription
Item description for cleared orders (present when includeItemDescription=true).
LimitOnCloseOrder
Limit-on-close order parameters (for BSP markets).
LimitOrder
Limit order parameters.
LineRangeInfo
Line range info for line markets.
ListClearedOrdersParams
Parameters for a listClearedOrders request.
ListCurrentOrdersParams
Parameters for a listCurrentOrders request.
ListMarketCatalogueParams
Parameters for a listMarketCatalogue request.
LoginResponse
Login response from the interactive Identity SSO API.
MarketCatalogue
Market catalogue entry returned by listMarketCatalogue.
MarketDescription
Detailed market description.
MarketFilter
Market filter for REST API queries (e.g. listMarketCatalogue).
MarketOnCloseOrder
Market-on-close order parameters (for BSP markets).
MarketVersion
Market version for price protection.
Navigation
Root navigation response.
NavigationEvent
Event entry in the navigation tree.
NavigationEventType
Event type (top-level category) in the navigation tree.
NavigationGroup
Group entry in the navigation tree.
NavigationMarket
Market entry in the navigation tree.
NavigationRace
Race entry in the navigation tree.
PlaceExecutionReport
Response to a placeOrders request.
PlaceInstruction
Instruction to place a new order.
PlaceInstructionReport
Individual instruction report for a place operation.
PlaceOrdersParams
Parameters for a placeOrders request.
PriceLadderDescription
Price ladder description within a market.
PriceSize
Price-size pair.
ReplaceExecutionReport
Response to a replaceOrders request.
ReplaceInstruction
Instruction to replace an existing order (cancel + place at new price).
ReplaceInstructionReport
Individual instruction report for a replace operation.
ReplaceOrdersParams
Parameters for a replaceOrders request.
RunnerCatalog
Runner catalog entry (static runner information).
RunnerId
Runner identifier.
TimeRange
Time range filter.

Enums§

LoginStatus
Login status.
NavigationChild
Child node in the navigation tree (polymorphic).