Endpoint PATH
/sports/{language}/results/changes.xmlEndpoint Description
The Result changes endpoint returns list the IDs of all fixtures that have changed results starting from a specified datetime to the time when the endpoint is called.
Filters / Endpoint parameters are available to insert a date and the API will return all the result changes from that date onwards. When the optional parameters (afterDateTime and SportId) are not specified the endpoint returns all the fixtures that have changed results in the last 24 hrs for all the sports.
Upon calling this endpoint, it will return a list of XML elements with the ID of the Sport Event and the Timestamp of the result change.
Once the customer is aware of the result change, Timeline and Summary API endpoints can be used to retrieve detailed information.
Endpoint Parameters
You can customize the endpoint response by using the following parameters.
| Parameter | Description | Possible Values |
|---|---|---|
language Required | Language code for translation. | See all supported languages and their codes on language support |
afterDateTime Optional | the datetime after which you want the fixture changes. The endpoint returns all the fixture changes from such a date onwards (till the timing of the call). | ISODate format (YYYY-MM-DDThh:mm:ss). E.g: 2023-05-29T12:05:00 |
sportId Optional | The id of the sport you want the fixture changes for. | Format - sr:sport:{id} E.g: sr:sport:1 |
The main elements and sub-elements provided by the Fixture endpoints are the ones shown in the list below:
The following attributes are found in the fixture change element.
| Name | Description |
|---|---|
| sport_event_id | the unique id assigned to the sport event by SR |
| update_time | the date and time when the fixture is updated/changed |