Market description
This end point provides a description of all the available markets. There are 2 filters: language and if the mapping should be shown or not.
We provide here an example of the answer of the end point with mapping and without mapping.
As we can see the information provided in the first example is the same we have in the second one apart from the mapping element.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<market_descriptions response_code="OK">
<market id="282" name="Innings 1 to 5th top - {$competitor1} total" groups="all|score|4.5_innings">
<outcomes>
<outcome id="13" name="under {total}"/>
<outcome id="12" name="over {total}"/>
</outcomes>
<specifiers>
<specifier name="total" type="decimal"/>
</specifiers>
<mappings>
<mapping product_id="1" product_ids="1|4" sport_id="sr:sport:3" market_id="8:232" sov_template="{total}">
<mapping_outcome outcome_id="13" product_outcome_id="2528" product_outcome_name="under"/>
<mapping_outcome outcome_id="12" product_outcome_id="2530" product_outcome_name="over"/>
</mapping>
</mappings>
</market>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<market_descriptions response_code="OK">
<market id="282" name="Innings 1 to 5th top - {$competitor1} total" groups="all|score|4.5_innings">
<outcomes>
<outcome id="13" name="under {total}"/>
<outcome id="12" name="over {total}"/>
</outcomes>
<specifiers>
<specifier name="total" type="decimal"/>
</specifiers>
</market>
Was this helpful?