...
.markets | |
---|---|
..market | |
id | Unique identifier of the market |
sport_id | Identifier for the sport. The complete list of possible sports can be retrieved using the API resource: sports.index |
name | Market name's pattern including replacers. It's used to generate final market name for specific event |
static_name | Static name of the market |
market_type_id | Identifier type for the market e.g. Totals, Asian, Corners.The complete list of possible markets types can be retrieved using the API resource: markets-types.index |
scope_id | Unique identifier for the scope eg. First half, Regular Time. The complete list of possible scopes can be retrieved using the API resource: scopes.index |
has_replacer | Possible values:
|
is_live | Possible values:
|
is_prematch | Possible values:
|
is_default_market | Possible values:
|
subtype | Possible values:
|
display_order | The parameter used to sort markets |
description | Description of the market |
status | Possible values:
|
ut | Information about the date and time of when the record was last updated. Format UNIX_TIMESTAMP |
...default_outcomes | |
....default_outcome | |
id | Identifier of the default outcome |
name | Outcome name's pattern including replacers. It's used to generate final outcome name for specific event e.g: Under #totalPoints# will be replaced by Under 145.5 |
static_name | Static name of the outcome |
is_single_outcome | |
required_participant | Internal attribute. Possible values:
|
display_order | The parameter used to sort outcomes in the market |
...replacers | |
....replacer | |
id | Identifier of the replacer |
name | Name of the replacer |
format | Format of the replacer. Possible values: |
description | Description of the descriptionreplacer |
Samples XML/JSON
Code Block | ||
---|---|---|
| ||
<markets> <market id="1" sport_id="5" name="3way" static_name="3way" market_type_id="1" scope_id="2" has_replacer="yes" is_live="yes" is_prematch="yes" subtype="3-way" is_default="yes" display_order="1" description="Match result in regular time" status="active" ut="12356712"> <default_outcomes> <default_outcome id=1 name="#participant1#" static_name="Home" is_single_outcome="yes" required_participant="yes" display_order="1"/> <default_outcome id=3 name="Draw" static_name="Draw" is_single_outcome="yes" required_participant="no" display_order="2"> <default_outcome id=2 name="#participant2#" static_name="Away" is_single_outcome="yes" required_participant="yes" display_order="3"> </default_outcomes> <replacers> <replacer id="7" name="#participant1#" format="text" description="Name of the first participant connected to specific object" /> <replacer id="8" name="#participant2#" format="text" description="Name of the second participant connected to specific object" /> </replacers> </market> </markets> |
...