GameCenter Web Api

<back to all web services


The following routes are available for this service:
POST/teams/gamesGet the games for the specified TeamSeasonId(s)
GET/teams/{teamSeasonId}/gamesGet the games for the specified TeamSeasonId(s); separate multiple identifiers with commas
NameParameterData TypeRequiredDescription
TeamSeasonIdpathstringYesTeamSeasonIds to search
ModifiedAfterpathstringNoOptional, but HIGHLY recommended; must be in UTC or included an appropriate time zone offset; format: YYYY-MM-DDTHH:mm:ss+ZZ
CountpathstringNodeprecated in favor of PageSize; how many results to return per page
PagepathstringNoone-based page, based on how big each page is (via PageSize)
PageSizepathstringNohow many results to return per page; may be limited if too many are requested—ensure subsequent pages never request a bigger PageSize than is returned in a previous page (unless this is the last or after the last page, in other words, zero results were returned) to ensure results are not accidentally skipped
OffsetpathstringNodeprecated in favor of Page; how many results to skip

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


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

POST /csv/reply/GetGamesByTeamSeason HTTP/1.1 
Content-Type: text/csv
Content-Length: length


HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

0,"""0001-01-01 00:00:00 +00""",00000000-0000-0000-0000-000000000000,0,"""0001-01-01 00:00:00 +00""",0,Preseason,0,"""0001-01-01 00:00:00 +00""",0,Football,"""0001-01-01 00:00:00 +00""",Scheduled,String,String,"""0001-01-01 00:00:00 +00"""