When requesting an outright fixture, POST request is:
Required field for this call is the outright_id
With the above details the API provides the following message:
<fixtures_fixture timestamp="1648810220523"> <fixture id="outright:116442" name="Premier League - Winner"> <translations> <translation lang="de" name="Premier League - Sieger"/> <translation lang="en" name="Premier League - Winner"/> <translation lang="es" name="Premier League - Ganador"/> <translation lang="fr" name="Premier League - Vainqueur"/> <translation lang="it" name="Premier League - Vincitore"/> <translation lang="pt" name="Premier League - Vencedor"/> </translations> <sport id="1" name="Soccer"/> <category id="1" name="England"/> <outcomes> <outcome id="33"> <translations> <translation lang="de" name="Tottenham Hotspur"/> <translation lang="en" name="Tottenham Hotspur"/> <translation lang="es" name="Tottenham Hotspur FC"/> <translation lang="fr" name="Tottenham Hotspur FC"/> <translation lang="it" name="Tottenham"/> <translation lang="pt" name="Tottenham Hotspur FC"/> </translations> </outcome> <outcome id="34"> <translations> <translation lang="de" name="Leeds United"/> <translation lang="en" name="Leeds United"/> <translation lang="es" name="Leeds United"/> <translation lang="fr" name="Leeds United"/> <translation lang="it" name="Leeds United"/> <translation lang="pt" name="Leeds United"/> </translations> </outcome> <outcome id="3"> <translations> <translation lang="de" name="Wolverhampton Wanderers"/> <translation lang="en" name="Wolverhampton Wanderers"/> <translation lang="es" name="Wolverhampton Wanderers FC"/> <translation lang="fr" name="Wolverhampton Wanderers FC"/> <translation lang="it" name="Wolverhampton"/> <translation lang="pt" name="Wolverhampton Wanderers FC"/> </translations> </outcome> <outcome id="35"> <translations> <translation lang="de" name="Manchester United"/> <translation lang="en" name="Manchester United"/> <translation lang="es" name="Manchester United FC"/> <translation lang="fr" name="Manchester United FC"/> <translation lang="it" name="Manchester United"/> <translation lang="pt" name="Manchester United FC"/> </translations> </outcome> <outcome id="37"> <translations> <translation lang="de" name="West Ham United"/> <translation lang="en" name="West Ham United"/> <translation lang="es" name="West Ham United FC"/> <translation lang="fr" name="West Ham United FC"/> <translation lang="it" name="West Ham United"/> <translation lang="pt" name="West Ham United FC"/> </translations> </outcome> <outcome id="6"> <translations> <translation lang="de" name="Burnley FC"/> <translation lang="en" name="Burnley FC"/> <translation lang="es" name="Burnley FC"/> <translation lang="fr" name="Burnley FC"/> <translation lang="it" name="Burnley"/> <translation lang="pt" name="Burnley FC"/> </translations> </outcome> <outcome id="38"> <translations> <translation lang="de" name="Chelsea FC"/> <translation lang="en" name="Chelsea FC"/> <translation lang="es" name="Chelsea FC"/> <translation lang="fr" name="Chelsea FC"/> <translation lang="it" name="Chelsea"/> <translation lang="pt" name="Chelsea FC"/> </translations> </outcome> <outcome id="7"> <translations> <translation lang="de" name="Crystal Palace"/> <translation lang="en" name="Crystal Palace"/> <translation lang="es" name="Crystal Palace FC"/> <translation lang="fr" name="Crystal Palace FC"/> <translation lang="it" name="Crystal Palace"/> <translation lang="pt" name="Crystal Palace FC"/> </translations> </outcome> <outcome id="39"> <translations> <translation lang="de" name="Newcastle United"/> <translation lang="en" name="Newcastle United"/> <translation lang="es" name="Newcastle United FC"/> <translation lang="fr" name="Newcastle United FC"/> <translation lang="it" name="Newcastle United"/> <translation lang="pt" name="Newcastle United FC"/> </translations> </outcome> <outcome id="263"> <translations> <translation lang="de" name="Norwich City"/> <translation lang="en" name="Norwich City"/> <translation lang="es" name="Norwich City FC"/> <translation lang="fr" name="Norwich City FC"/> <translation lang="it" name="Norwich"/> <translation lang="pt" name="Norwich City FC"/> </translations> </outcome> <outcome id="40"> <translations> <translation lang="de" name="Aston Villa"/> <translation lang="en" name="Aston Villa"/> <translation lang="es" name="Aston Villa"/> <translation lang="fr" name="Aston Villa"/> <translation lang="it" name="Aston Villa"/> <translation lang="pt" name="Aston Villa FC"/> </translations> </outcome> <outcome id="42"> <translations> <translation lang="de" name="Arsenal FC"/> <translation lang="en" name="Arsenal FC"/> <translation lang="es" name="Arsenal FC"/> <translation lang="fr" name="Football Club d´arsenal"/> <translation lang="it" name="Arsenal"/> <translation lang="pt" name="Arsenal FC"/> </translations> </outcome> <outcome id="44"> <translations> <translation lang="de" name="Liverpool FC"/> <translation lang="en" name="Liverpool FC"/> <translation lang="es" name="Liverpool FC"/> <translation lang="fr" name="Liverpool FC"/> <translation lang="it" name="Liverpool"/> <translation lang="pt" name="Liverpool FC"/> </translations> </outcome> <outcome id="45"> <translations> <translation lang="de" name="Southampton FC"/> <translation lang="en" name="Southampton FC"/> <translation lang="es" name="Southampton FC"/> <translation lang="fr" name="Southampton FC"/> <translation lang="it" name="Southampton"/> <translation lang="pt" name="Southampton FC"/> </translations> </outcome> <outcome id="48"> <translations> <translation lang="de" name="Everton FC"/> <translation lang="en" name="Everton FC"/> <translation lang="es" name="Everton FC"/> <translation lang="fr" name="Everton FC"/> <translation lang="it" name="Everton"/> <translation lang="pt" name="Everton FC"/> </translations> </outcome> <outcome id="17"> <translations> <translation lang="de" name="Manchester City"/> <translation lang="en" name="Manchester City"/> <translation lang="es" name="Manchester City FC"/> <translation lang="fr" name="Manchester City FC"/> <translation lang="it" name="Manchester City"/> <translation lang="pt" name="Manchester City FC"/> </translations> </outcome> <outcome id="50"> <translations> <translation lang="de" name="Brentford FC"/> <translation lang="en" name="Brentford FC"/> <translation lang="es" name="Brentford FC"/> <translation lang="fr" name="Brentford FC"/> <translation lang="it" name="Brentford "/> <translation lang="pt" name="Brentford FC"/> </translations> </outcome> <outcome id="24"> <translations> <translation lang="de" name="Watford FC"/> <translation lang="en" name="Watford FC"/> <translation lang="es" name="Watford FC"/> <translation lang="fr" name="Watford FC"/> <translation lang="it" name="Watford"/> <translation lang="pt" name="Watford FC"/> </translations> </outcome> <outcome id="30"> <translations> <translation lang="de" name="Brighton & Hove Albion"/> <translation lang="en" name="Brighton & Hove Albion"/> <translation lang="es" name="Brighton & Hove Albion FC"/> <translation lang="fr" name="Brighton & Hove Albion FC"/> <translation lang="it" name="Brighton"/> <translation lang="pt" name="Brighton & Hove Albion FC"/> </translations> </outcome> <outcome id="31"> <translations> <translation lang="de" name="Leicester City"/> <translation lang="en" name="Leicester City"/> <translation lang="es" name="Leicester City FC"/> <translation lang="fr" name="Leicester City FC"/> <translation lang="it" name="Leicester City"/> <translation lang="pt" name="Leicester City FC"/> </translations> </outcome> </outcomes> </fixture> </fixtures_fixture>
Tag fixtures_fixture has only one attribute which is timestamp with date and when fixture message was created.
Under the tag fixtures_fixture there is a tag named fixture that has id and name of the outright. That tag contains all relevant information of the outright including translations for the outright name. Inside it are the tags sport, category and tournament which contain IDs and names for the sport, category and tournament of the requested outright.
After, there is outcomes tag which contains data for all competitors placed into child competitor tags. Tags outcome have attribute representing ID of competitor and name attribute that represents name of the competitor. If translations are included we will have child tags translation under the tag translations that will contain attributes lang which indicates the ISO language code and name for competitor name in that specified language.
0 Comments