GameCenter Web Api

<back to all web services

GetTeamsByConference

Gets all teams for a conference and sport. Does not return deleted teams or seasons. API versions explicitly requested that are less than 1.2 will return a denormalized Season, instead of a Team with Seasons.

The following routes are available for this service:
GET/conferences/{ConferenceId}/teams/{sport}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetTeamsByConference HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"ConferenceId":0,"Sport":"Football"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Teams":[{"DeletedOn":"0001-01-01 00:00:00 +00","Gender":"Male","IsMyTeam":0,"Level":"Freshman","Logo":"String","SchoolId":0,"SchoolMascot":"String","SchoolName":"String","Seasons":[{"DeletedOn":"0001-01-01 00:00:00 +00","SeasonActiveEndDTTM":"0001-01-01 00:00:00 +00","SeasonActiveStartDTTM":"0001-01-01 00:00:00 +00","SeasonEndDTTM":"0001-01-01 00:00:00 +00","SeasonName":"String","SeasonStartDTTM":"0001-01-01 00:00:00 +00","SeasonYear":0,"TeamSeasonId":0}],"Sport":"Football","TeamAcronym":"String","TeamId":0,"TeamName":"String","TeamType":"School"}]}