Fixture changes for a match/outright are sent inside fixture_change tag.
Attributes of fixture_change tags are event_id, product, timestamp and change_type (Optional)
Tag event_id represent represents ID of event for which the date is for (match/outright).
Tag product representing type of feed that message belongs.
Product ID | Product Description | Product Status |
---|---|---|
3 | Pre-match | Available |
1 | Live odds | Not available |
Tag change_type if specified, declares this indicates what type of change it is (changed name, added new competitor).
For change of match date the details are in the message. Otherwise, the new fixture has to be requested from the API.
1=NAME is changed, 2=competitor Competitor is added
...
Match Date
...
Change
When date of match is changed, new date is sent inside fixture_change tag, in the following format:
Code Block | ||
---|---|---|
| ||
<fixture_change event_id="match:22650837" product="3" start_time="2021-02-20T16:00:00+000000:00" timestamp="1612968277297"/> |
Tag start_time is new date of match.
...
Outright Name Change
When name of outright is changed manually, you will get signal inside fixture_change tag, in the following format:
Code Block | ||
---|---|---|
| ||
<fixture_change change_type="1" event_id="outright:97081" product="3" timestamp="1614011289924"/> |
When you receive this change you can call the API T/outright_fixturefor the new name.
...
Outright - Adding New Competitor
When a new competitor is added to the outright manually, you will get the signal inside fixture_change tag, in the following format:
Code Block | ||
---|---|---|
| ||
<fixture_change change_type="2" event_id="outright:97081" product="3" timestamp="1614011289924"/> |
When you receive this change you can call the API T/outright_fixtureto update the new competitors.