GameCenter Web Api

<back to all web services

GetSeasons

Gets the requested season information.

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/GetSeasons HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/json
Content-Length: length

{"SeasonIds":[0]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Seasons":[{"Name":"String","Description":"String","Year":0,"TeamId":0,"ConferenceId":0,"ConferenceDivisionId":0,"ReplacementSeasonId":0,"ReplacementSeason":{"Name":"String","Description":"String","Year":0,"TeamId":0,"ConferenceId":0,"ConferenceDivisionId":0,"ReplacementSeasonId":0,"ReplacementSeason":{"Name":"String","Description":"String","Year":0,"TeamId":0,"ConferenceId":0,"ConferenceDivisionId":0,"ReplacementSeasonId":0,"Slug":"String","IsVisibleToPublic":false,"UnityKey":"String","Created_On":"2018-08-20 14:49:46 +00","Deleted_By":0,"Deleted_On":"0001-01-01 00:00:00 +00","Id":0,"Updated_By":0,"Updated_On":"2018-08-20 14:49:46 +00"},"Slug":"String","IsVisibleToPublic":false,"UnityKey":"String","Created_On":"2018-08-20 14:49:46 +00","Deleted_By":0,"Deleted_On":"0001-01-01 00:00:00 +00","Id":0,"Updated_By":0,"Updated_On":"2018-08-20 14:49:46 +00"},"Slug":"String","IsVisibleToPublic":false,"UnityKey":"String","Created_On":"2018-08-20 14:49:46 +00","Deleted_By":0,"Deleted_On":"0001-01-01 00:00:00 +00","Id":0,"Updated_By":0,"Updated_On":"2018-08-20 14:49:46 +00"}]}