Bet Angel
×
Full Guide

Enums

 

BetAngelAPIErrorCode

Value
Type
Description
BAD_REQUEST
string
The JSON request did not contain the required information. e.g. A null required field. See the error message for more details.
UNKNOWN_EVENT
string
None of the markets loaded into Bet Angel match the specified Event Id
UNKNOWN_MARKET
string
The specified market is not currently loaded into Bet Angel
MARKET_NOT_IN_GUARDIAN
string
The specified market is not currently loaded into Guardian
UNKNOWN_SELECTION
string
The specified selection is not a member of the specified market (or perhaps any of the markets loaded into Bet Angel)
UNKNOWN_INSTANCE
string
The specified Automation Instance Id could not be found based on the filter criteria provided
UNKNOWN_COUPON
string
The coupon name provided could not be found in Bet Angel
UNKNOWN_RULES_FILE
string
The Automation Rules File name provided could not be found in Bet Angel
INVALID_RULES_FILE
string
The Automation Rules File could not be used. e.g. Perhaps a Servant rules file is being added to Guardian
UNKNOWN_STORED_VALUE_NAME
string
The specified Stored Value could not be found based on the filter criteria (market / selection etc)
INVALID_STORED_VALUE_NAME
string
Unable to use that Stored Value Name. Perhaps the name is blank.
INVALID_STORED_VALUE
string
Unable to set the Stored Value. Perhaps both the Text and Numeric values were missing
INVALID_RULE_COLUMN
string
Guardian supports rule columns 1 to 5. A different value must have been specified.
INVALID_WATCH_LIST
string
Watch Lists are numbered 1 to 5. A different value must have been specified.
INVALID_INSTANCE_ID
string
There was a problem with the Automation Instance Ids provided. Perhaps the range of values in the search criteria was not valid.
INSTANCE_STOPPED
string
The specified Automation Instance has stopped, but the request did not allow Stopped instances
OTHER
string
Used to report errors that do not fall into any of the above categories. e.g. An Exception was caught and is being reported.
 
 

CouponClearOptions

Value
Type
Description
DONT_CLEAR
string
No markets are removed
CLEAR_GUARDIAN_AND_WATCH_LIST
string
Markets are removed from Guardian and the specified watch list before adding the new markets
CLEAR_WATCH_LIST_ONLY
 
Markets are removed from the specified watch list, but NOT Guardian, before adding the new markets
 
 

FilterInstanceOption

Value
Type
Description
ALL
string
All Automation Instances will be included
SPECIFIED_IDS
string
Only the specified Automation Instances Ids will be included.
 
 

FilterOption

Value
Type
Description
ALL
string
All Ids at this level of containment will be included
SPECIFIED_IDS
 
string
Only the specified Ids at this level of containment will be included (e.g. market Ids for a market level container, selection Ids for a selection level container etc)
 
 

FilterStoredValueOption

Value
Type
Description
ALL
string
All Stored Values will be included
SPECIFIED_NAMES
string
Only the specified Stored Value names will be included.
 
 

InstanceStatus

Value
Type
Description
PENDING
string
No rules have yet triggered in this instance.
ACTIVE
string
At least one rule has triggered and at least one of the rules is still active
STOPPED
string
All the rules in the instance have stopped execution.
 
 

InstanceType

Value
Type
Description
GUARDIAN
string
The instance is being processed by Guardian
SERVANT
string
The instance is running as a Servant
SAFETY_SERVANT
string
The instance is the market's Safety Servant
 
 

MarketDataItem

Value
Type
Description
ID
string
Market Id
NAME
string
Market Name
MARKET_TYPE
string
Market Type (matches betfair types. e.g. WIN, PLACE, MATCH_ODDS etc)
EVENT_ID
string
Event Id (with time suffix for horse racing)
EVENT_TYPE_ID
string
Event Type Id
MARKET_START_TIME
string
Market Start Time
SELECTION_IDS
string
Selection Id
SELECTION_NAMES
string
Selection Name
 
 

MarketStatus

Value
Type
Description
ANY
string
Markets will not be filtered by status - default value
SUSPENDED
string
Only markets that are suspended or closed will satisfy this filter.
CLOSED
string
Only markets that are closed will satisfy this filter.
 
 

ResponseStatus

Value
Type
Description
OK
string
The operation was successful and completed without error
PROCESSED_WITH_ERRORS
string
The request must have contained a list of data items to process, some were successful, some were not. Error messages will have been returned in the response.
FAILED
string
The operation was not processed or threw an exception during processing