...
Endpoint | Method | Input Body | Sample Request Body |
---|---|---|---|
/api/v1/public/fixtures/{productid}/{eventid} | GET |
| { |
...
NAME | DESCRIPTION | ||
---|---|---|---|
product_id | The ID of the product (In this case ID 5 for Motorsports) | ||
timestamp | The date & time of when the message was created | ||
event_id | The ID of the event (Match or Outright) | ||
expiry_date | The next expiration date of the event (Only for specific Events) | ||
scheduled_date | The date of when the event will take place | ||
sport id | The ID of the sport | ||
sport name | The name of the sport | ||
category id | The ID of the category | ||
category name | The name of the category | ||
tournament id | The ID of the tournament | ||
tournament name | The name of the tournament | market id | The ID of the market |
market name | The name of the market | ||
outcome id | The ID of the outcome (only for outright) | ||
outcome name | The name of the outcome (only for outright) | ||
competitor id | The ID of the competitor (only for match) | ||
competitor name | The name of the competitor (only for match) | ||
competitor type | The position of the competitor (this should be used to determine home and away for h2h markets) | ||
reference id | The mapping id for a particular feed provider/bookmaker | ||
reference name | The name of the feed provider/bookmaker mapping id | ||
reference type | The entity of the feed provider/bookmaker mapping id |
XML Examples
One Competitor Match Fixture
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<fixtures_fixture product_id="5" timestamp="1666864943053">
<fixture event_id="match:131719" expiry_date="2023-01-05T11:00:00.000Z" scheduled_date="2023-01-08T11:00:00.000Z">
<sport id="10040" name="Formula 1"/>
<category id="20" name="Brazil"/>
<tournament id="19" name="Classified/Not Classified"/>
<market id="2" name="Classified/Not Classified"/>
<competitors>
<competitor id="40000000" name="Verstappen, Max"/>
</competitors>
</fixture>
</fixtures_fixture> |
...
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<fixtures_fixture product_id="5" timestamp="1667218180386">
<fixture event_id="outright:131728" name="Group 1 Winner" expiry_date="2023-01-05T11:00:00.000Z" scheduled_date="2023-01-08T11:00:00.000Z">
<sport id="10040" name="Formula 1"/>
<category id="20" name="Brazil"/>
<tournament id="17" name="Group 1 Winner"/>
<market id="101" name="Short Term Winner">
<outcomes>
<outcome id="40000000" name="Verstappen, Max"/>
<outcome id="40000001" name="Leclerc, Charles"/>
<outcome id="40000002" name="Perez, Sergio"/>
<outcome id="40000004" name="Sainz Jr, Carlos"/>
</outcomes>
</market>
</fixture>
</fixtures_fixture> |
...