In case of Cycling the structure is organized into stages.
To retrieve details related to Cycling events, it is necessary to start with retrieving the sport id in the "All sport" end point.
<sport id="sr:sport:17" name="Cycling"/>Once we have the id of the sport we can use it in the end point "All available tournament for a sport" filtering by using sport id=17 and we can get the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<sport_tournaments xmlns="http://schemas.sportradar.com/sportsapi/v1/unified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated_at="2021-10-08T10:20:07+00:00"
xsi:schemaLocation="http://schemas.sportradar.com/sportsapi/v1/unified http://schemas.sportradar.com/ufsportsapi/v1/endpoints/unified/ufsportsapi.xsd">
<sport id="sr:sport:17" name="Cycling"/>
<tournaments>
<tournament id="sr:stage:537016" name="Cycling Men 2020" scheduled="2020-01-01T00:00:00+00:00" scheduled_end="2020-12-31T00:00:00+00:00"
In this case, it seems there are no parenting stages to investigate further therefore, in order to get more info related to one of the stages it is necessary to filter them in the fixture end point.
<tournament_info generated_at="2021-10-08T10:28:22.089+00:00" xsi:schemaLocation="http://schemas.sportradar.com/sportsapi/v1/unified
http://schemas.sportradar.com/bsa/unified/v1/xml/endpoints/unified/tournament_info.xsd" xmlns="http://schemas.sportradar.com/sportsapi/v1/unified" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tournament id="sr:stage:537016" name="Cycling Men" scheduled="2020-01-01T00:00:00+00:00" scheduled_end="2020-12-31T00:00:00+00:00"