Leagues Service

Description

The DBS Leagues Service provides a list of leagues for use in other DBS Web services that use a league Id as an input parameter.

Available Queries

  • All Leagues

WSDL Location

http://feeds.donbest.com/webservices/leagues.wsdl

Request

Request Format

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:leag="http://donbest.com/schemas/leagues">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:Username>myUsername</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MyPassword</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <leag:LeaguesRequest/>
   </soapenv:Body>
</soapenv:Envelope>

Request Parameters

No parameters.

Response

Response Format

<lea:LeaguesResponse xmlns:lea="http://donbest.com/schemas/leagues">
    <lea:League abbreviation="nfl" displayName="NFL" id="1" name="nfl" sportId="1"
        sportName="football"/>
    <lea:League abbreviation="cfb" displayName="College Football" id="2" name="ncaaf div I-A"
        sportId="1" sportName="football"/>
    <lea:League abbreviation="nba" displayName="NBA" id="3" name="nba" sportId="2"
        sportName="basketball"/>
    <lea:League abbreviation="cbk" displayName="College Basketball" id="4" name="mncaab" sportId="2"
        sportName="basketball"/>
    <lea:League abbreviation="mlb" displayName="MLB" id="5" name="major league baseball" sportId="3"
        sportName="baseball"/>
    <lea:League abbreviation="cbb" displayName="College Baseball" id="6" name="college baseball"
        sportId="3" sportName="baseball"/>
    <lea:League abbreviation="nhl" displayName="NHL" id="7" name="nhl" sportId="4"
        sportName="hockey"/>
    <lea:League abbreviation="wnba" displayName="WNBA" id="8" name="wnba" sportId="2"
        sportName="basketball"/>
    <lea:League abbreviation="soc" displayName="Soccer" id="9" name="soccer" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="box" displayName="Boxing" id="10" name="boxing" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="golf" displayName="Golf" id="11" name="golf" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="ten" displayName="Tennis" id="12" name="tennis" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="afb" displayName="Arena Football" id="13" name="arena football"
        sportId="1" sportName="football"/>
    <lea:League abbreviation="arc" displayName="Auto Racing" id="14" name="auto racing" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="chk" displayName="College Hockey" id="15" name="college hockey"
        sportId="4" sportName="hockey"/>
    <lea:League abbreviation="nfle" displayName="NFL - Europe" id="16" name="nfl - europe"
        sportId="1" sportName="football"/>
    <lea:League abbreviation="wcbk" displayName="WNCAA Basketball" id="17" name="wncaab" sportId="2"
        sportName="basketball"/>
    <lea:League abbreviation="cafb" displayName="Canadian Football" id="18" name="canadian football"
        sportId="1" sportName="football"/>
    <lea:League abbreviation="other" displayName="Other" id="19" name="other" sportId="5"
        sportName="other"/>
    <lea:League abbreviation="cfbaa" displayName="College Football (I-AA)" id="20"
        name="ncaaf div I-AA" sportId="1" sportName="football"/>
    <lea:League abbreviation="UFL" displayName="UFL" id="23" name="UFL" sportId="1"
        sportName="football"/>
</lea:LeaguesResponse>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License